Yeah, this is what I was looking for. & just puts a process in the background (forgot all about that trick). Is this the same thing as forking or different?
It's weird though I had this bash script and arranged the code in the two functions. I have some image processes running in f() and when I run f& (eg f & g) I get these png errors. But if I run f (eg g & f) it doesn't error. Why would some programs need to be ran "directly"? Why cant they be put in the background?
edit -- Hm for some reason it works now. I never touched the code. Weird.
Thanks for the info that was exactly what I was looking for.
Last edited by 1veedo; 12-22-2007 at 09:42 PM.
|