Questions tagged [background-process]

On POSIX systems a background-process is created in a shell by either adding an ampersand symbol after a command (e.g. ./script.sh &) or by pressing CTRL+Z while the command is being executed. The command will then run independently from the shell but will still write stdout and stderr output to the shell from where it has been started. It can only be stopped with the kill command.

Filter by
Sorted by
Tagged with
33 votes
4 answers
55k views

Writing to stdin of background process

I'm on an Ubuntu 10.04 box, and started a server in the background (myserver &) over ssh. It's been running fine, but I need a way to get at the server's stdin, as the only way to control the ...
tajmorton's user avatar
  • 445
2 votes
2 answers
987 views

Linux: Background process linked to terminal window

I am running linux and I am running a script/program in the background using cmd & This works fine on Solaris, but on my Linux box (2.6.9-55/ Red Hat), the background process stops when the ...
weismat's user avatar
  • 353