The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-19-2008
alirezan alirezan is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 22
Running shell commands from C/C++

Hi guys,

I know using system() we can run unix commands but the problem is, I can't get any returns with the system(). I am returning stuff from my shell scripts that I need to be able to read from my C code.

Anybody has cure to this problem? )

Thanks