Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to disown a job at startup w/ out manually pausing the process? Basically the issue is, is that I'm iterating through a number of processes using a python script. I can manually disown the python script, but it's the processes within it that I'm executing that I'm worried about.

share|improve this question

1 Answer 1

Disowning jobs is part of what the shell does. At least in zsh (and presumable also in bash) you can have a job immediately disowned on creation by appending &! (as in e.g. xterm &!). But since you are doing this from within a Python script, things will be more difficult; I think you'll have to do the job control there yourself, or have to start the processes asynchronously or something like that.

If all you are doing is just launching a bunch of processes, in this particular case a shell script is maybe the better choice.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.