Hi, I need to get the output of a program called with the system() function. How would I do this?
Jump to Post
Well, that gonna be difficult using the system function, since the function doesn’t return anything expect the status i.e 0 or 1.
What you could do is pipe the output to a file and access that file to get the output of that program.
Or you will have …
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.