LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   scripting, perl or bash; run a background process, get pid (http://www.linuxquestions.org/questions/programming-9/scripting-perl-or-bash%3B-run-a-background-process-get-pid-799353/)

2ck 04-01-2010 07:19 AM

scripting, perl or bash; run a background process, get pid
 
pretty simple. how would you background a process from a script and get its process id at the same time?

grail 04-01-2010 07:21 AM

So simple in fact, let me google it for you as your fingers are tired:

http://lmgtfy.com/?q=background+a+pr...its+process+id

bigearsbilly 04-01-2010 08:09 AM

in my day we did our own homework

Sergei Steshenko 04-01-2010 08:21 AM

Quote:

Originally Posted by bigearsbilly (Post 3920377)
in my day we did our own homework

Because there was no Internet :D .

grail 04-01-2010 08:24 AM

Well I would ask my mum and she would say, "Ask your father"

So then I ask dad and he says, "When you find the answer I will tell you if you are correct"

2ck 04-01-2010 07:44 PM

this wasn't homework, and i should have searched this forum first. [sarc]Sorry[/sarc].

grail 04-02-2010 12:16 AM

If you have your answer, please mark as SOLVED


All times are GMT -5. The time now is 12:09 PM.