Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!gem.mps.ohio-state.edu!apple!mips!sony.com!dce From: dce@sony.com (David Elliott) Newsgroups: gnu.bash.bug Subject: Printing process ids in shell scripts Message-ID: <1989Oct20.161038.6131@sony.com> Date: 20 Oct 89 16:10:38 GMT Reply-To: dce@icky.sony.com (David Elliott) Distribution: gnu Organization: Sony Microsystems Corp. Lines: 31 Once again, this showed up when using bash with C news inews. The final "posting" of the article is done in the background, using the construct ( commands ) & Using sh from 4.3BSD, this construct causes no output other than that from the commands. WIth bash, the line is also printed, making news posting annoying. I don't want to redirect the output of the subshell, since that could result in lost error messages. For the time being, I think I've reproduced the behavior of the other shells by changing execute_cmd.c around line 213 to say if (asynchronous) { if (interactive) { describe_pid(pid); } } else { ... } -- David Elliott dce@sony.com | ...!{uunet,mips}!sonyusa!dce