system("g++ $files $incl $libs 2>build.log&"); The above works... thanks!
-----Original Message----- From: I Rattan [mailto:ratt...@cps.cmich.edu] Sent: Friday, April 30, 2010 12:03 PM To: Gary Subject: Re: sh command issue On Fri, 30 Apr 2010, Gary wrote: > I'm helping a fella in the UK with a debian build (tiny web) on a small VM > machine in a data center. I am trying to compile some c++ code, I have the > libs and binaries installed and the compile "works", except for this line... > > I have a php file used to make the build, and the file contains these > lines.. > > > system("g++ $files $incl $libs >& build.log"); 2>1& Might work. ishwar -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aneajgkdlnaapmpgonlkceahcbaa.gary.mccal...@shaw.ca