bash scripting: eval and waiting for processes in background
Smoot Carl-Mitchell
smoot at tic.com
Thu Feb 25 17:21:08 UTC 2010
On Thu, 2010-02-25 at 08:41 -0700, Matt Iavarone wrote:
> This is not exactly my strong point, scripting, but wouldn't you need
> some kind of threading to start each script to run independent of the
> other? Something like _thread in python?
>
Nope. The shell forks of a new process for each script and runs it in
the background. You can see what is happening by running
ps axjf
which give a nice process tree and shows the parent/child relation among
all the running processes.
--
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list