example 1: hangs waiting for <ENTER/RETURN> key
Unless the program you are calling via system is waiting for input, it is unlikely that this is actually hanging. You are probably just seeing nohup print a line like "nohup: appending output to `nohup.out'" to the terminal after the prompt and it is confusing you.
Instead of hitting enter, just start typing another command like ls or something. You should see the prompt come back immediately. Alternatively, you could check with ps in another window to see if your process is running or not.
Addendum: BTW, you would probably be better off writing your suid wrapper in C. Setuid scripts are problematic on some platforms.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: hanging process
by sauoq
in thread hanging process
by pappajaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |