[NTLUG:Discuss] put a process in background.

Fred James fredjame at concentric.net
Thu Nov 1 16:11:52 CST 2001


Say I want to spawn a shell in background (stupid, but I am trying to 
keep this simple)

If I do it from the command line, this works:
$> sh &
but if I put that (sh &) is a script (sh) I get:
./scriptname: sh &: not found

What is going on here, and how can I get around it?
Any suggestions?

-- 
...make every program a filter...




More information about the Discuss mailing list