greg@kesa.UUCP (Greg Onufer) (09/21/89)
Bash 1.03 running under Interactive 386IX does funny things when source'ing files. If the file contains any external commands, after the file is sourced (and all commands executed), bash goes into a loop reporting wait errors. This loop is the while loop in wait_for... (nojobs.c). I changed the if statement to contain a break after printing the error as a temporary fix. Any ideas? Sample file to source: echo "Begin" touch /tmp/foo /bin/rm -f /tmp/foo echo "End" Sample Bash Session: myprompt% . foo Begin End wait: No child processes wait: No child processes wait: No child processes wait: No child processes wait: No child processes ..... Forever ..... Please reply to cheers!greg@apple.com or to this newsgroup.