On Mon, May 26, 2008 at 02:58:17PM +0200, Miroslav Rudisin wrote: > children's PIDs are not printed when called in eval block > > $ sleep 1000 & > $ sleep 100 & > $ jobs -p > 14202 > 14201 > $ echo $(jobs -p) > > $
Hi, I don't think that's a bug, the jobs builtin 'shall display the status of jobs that were started in the current shell environment;'[0] When running jobs in a subshell, you change the shell environment for the jobs builtin. Regards, Gerrit. [0] http://www.opengroup.org/onlinepubs/009695399/utilities/jobs.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]