e.g., I want run a python -m HTTPSimpleServer in the background while running a watch in the background
python -m HTTPSimpleServer; watch -n (my awesome test command)
how can I run both in parallel spawning from one command.
e.g., I want run a python -m HTTPSimpleServer in the background while running a watch in the background
python -m HTTPSimpleServer; watch -n (my awesome test command)
how can I run both in parallel spawning from one command.
Looks like replacing the ; with & ought to do the job. Add another & at the end to put both programs in the background.
This may sound like a reply to an old post, but you can simply run the application in nohup
nohup python -m HTTPSimpleServer & watch -n