Storing output of system function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • twooton
    New Member
    • Feb 2008
    • 1

    Storing output of system function

    is there a way that I can store the output of the system() function? Not the return value, but the value that it outputs to the command prompt
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by twooton
    is there a way that I can store the output of the system() function? Not the return value, but the value that it outputs to the command prompt
    You can use command line redirects to put it in a file, but I'd recommend getting into whatever API you are using and using that to get the values you need.

    Comment

    Working...