bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PID of subshell forked with ()


From: Dan Jacobson
Subject: Re: PID of subshell forked with ()
Date: Sun, 05 Dec 2004 06:46:29 +0800

The following message is a courtesy copy of an article
that has been posted to comp.unix.shell as well.

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 $!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]