Hello Karthik,

I am not a monk, but I have a simple answer to your question.

IIRC, the main diff between exec() and system() is that one waits for the call to complete before continuing, whereas the other does not. You have to read the docs to figure out which is which.

Rajagopalan, Karthik wrote:

Hi ASPerl_Monks,

I want to know the difference between perl's exec and system
specifically more related to choosing shell interpreter to execute the
command.
I found in one of the code that using exec requires "cmd.exe" and system
requires any underlying shell when executed from Cygwin shell.
Can someone hightlight your points on this in detail?

Regards,
Karthik.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to