Ritesh wrote:

>thanks ian and dmick.
>
>so, if i have a following line in my code: 
>pclose(popen("/tmp/somescript","w"));
>
>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. 
>
>  
>
It's well explained in the man page and even clearer in the code (see
the link in my first reply)!

Ian

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to