Re: PID of subshell forked with ()
From: Dan Jacobson (jidanni_at_jidanni.org)
Date: 12/04/04
- Next message: Bill Marcum: "Re: little help shell scripting"
- Previous message: +Alan Hicks+: "Re: little help shell scripting"
- Maybe in reply to: Dan Jacobson: "PID of subshell forked with ()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 05 Dec 2004 06:46:29 +0800
Hurmf, time for a new Bash variable?!
(#I want to find the PID of here, but the best I can do is hacks like
echo $(bash -c 'echo $PPID'))&
#or but from outside:
echo $!
- Next message: Bill Marcum: "Re: little help shell scripting"
- Previous message: +Alan Hicks+: "Re: little help shell scripting"
- Maybe in reply to: Dan Jacobson: "PID of subshell forked with ()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]