RE: executing c program from perl script and grabbing output

2002-07-02 Thread Shishir K. Singh
On Tuesday, July 2, 2002, at 11:23 , drieux wrote: >> I have a c program which takes two commandline arguments (both strings) >> and >> prints out a line. If I use system then I am not able to grab the output >> of the >> program and if I use backquotes `` then the arguments are also treated a

Re: executing c program from perl script and grabbing output

2002-07-02 Thread drieux
On Tuesday, July 2, 2002, at 11:23 , Shishir K. Singh wrote: >> I have a c program which takes two commandline arguments (both strings) >> and >> prints out a line. If I use system then I am not able to grab the output >> of the >> program and if I use backquotes `` then the arguments are also

RE: executing c program from perl script and grabbing output

2002-07-02 Thread Shishir K. Singh
>I have a c program which takes two commandline arguments (both strings) and >prints out a line. If I use system then I am not able to grab the output of the >program and if I use backquotes `` then the arguments are also treated as >commands and I get an error. > Is there any other way to do