dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.20,1.21


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.20,1.21
Date: Sat, 08 Feb 2003 19:11:18 -0500

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv2744/include

Modified Files:
        il_utils.h 
Log Message:


Add "ILSpawnProcessWithPipe" to allow the standard output of a command to be 
captured.


Index: il_utils.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_utils.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** il_utils.h  14 Dec 2002 23:24:39 -0000      1.20
--- il_utils.h  9 Feb 2003 00:11:16 -0000       1.21
***************
*** 346,349 ****
--- 346,361 ----
  
  /*
+  * Spawn a child process and capture its stdout using a pipe.
+  * Returns zero if pipes are not supported, -1 on error, or the pid.
+  */
+ int ILSpawnProcessWithPipe(char *argv[], void **stream);
+ 
+ /*
+  * Wait for a child process that was spawned by "ILSpawnProcessWithPipe"
+  * to exit.  Returns the exit status, or -1 on error.
+  */
+ int ILSpawnProcessWaitForExit(int pid, char *argv[]);
+ 
+ /*
   * Opaque definition of the hash table type.
   */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]