Ritesh wrote:
thanks ian and dmick.
so, if i have a following line in my code:
pclose(popen("/tmp/somescript","w"));
That's nonsensical. Don't do that.
the parent process that executes this line, will wait till the "somescript" completes and writes something on stdout? or it will continue ahead ?
lets say the script "somescript" sleeps in a while loop, will the parent process continue what it was doing or it will be blocked on pclose call.
pardon me if this is too basic ;-) but i somehow have this doubt.
thanks for your help.
rp.
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code