For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > March 2006 > POE Quiery









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author POE Quiery
Sagar A Chaitanya Reddy

2006-03-11, 3:59 am


Hi All,

I am running a system command in a new POE session.
It is just calling the system command and coming out of the session.
It is not waiting till the command completes.
Are there any other POE modules which solve this problem??

Thanks a lot!

Regards
Sagar Chaitanya
Rocco Caputo

2006-03-11, 7:01 pm

On Mar 11, 2006, at 04:22, Sagar A Chaitanya Reddy wrote:

> I am running a system command in a new POE session.
> It is just calling the system command and coming out of the session.
> It is not waiting till the command completes.
> Are there any other POE modules which solve this problem??


system(COMMAND) will wait until COMMAND completes. So if system() is
returning too soon, it means COMMAND has completed early.

Your question seems odd. Most people asking about system() and POE
are looking for ways to run commands without waiting for them to
complete.

--
Rocco Caputo - rcaputo@pobox.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com