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

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

[Dotgnu-pnet-commits] CVS: pnet/support spawn.c,1.3,1.4


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/support spawn.c,1.3,1.4
Date: Wed, 20 Nov 2002 17:20:01 -0500

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv12849/support

Modified Files:
        spawn.c 
Log Message:


ILSpawnProcess: use "execvp" instead of "execv" to ensure that PATH is
searched when launching programs from csant.


Index: spawn.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/spawn.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** spawn.c     1 May 2002 00:27:28 -0000       1.3
--- spawn.c     20 Nov 2002 22:19:59 -0000      1.4
***************
*** 232,236 ****
        {
                /* We are in the child process */
!               execv(argv[0], argv);
                perror(argv[0]);
                exit(1);
--- 232,236 ----
        {
                /* We are in the child process */
!               execvp(argv[0], argv);
                perror(argv[0]);
                exit(1);





reply via email to

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