Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Child process and kill parent
a guest
Dec 7th, 2019
162
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
if
[
"$1"
]
then
sleep
1
kill
$1
&
else
echo
"Unicestwiony"
.
/
script.sh
$$
&
fi
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
4 hours ago | 1.88 KB
Untitled
4 hours ago | 0.67 KB
Untitled
4 hours ago | 3.33 KB
Untitled
4 hours ago | 1.00 KB
Untitled
4 hours ago | 0.33 KB
Untitled
4 hours ago | 1.55 KB
my software
8 hours ago | 0.03 KB
disable countdown timer in cart for drop pric...
PHP | 12 hours ago | 0.23 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!