Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » System() call
System() call [message #16018] Thu, 22 May 2008 23:47 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
I've seen in Valgrind support such a call :
	StringStream ss;

	CreateHostRunDir()->Execute("valgrind --help", ss);

	String txt = ss;


to execute a system command gathering output inside a stream.
That one is really useful, but requires Ide package... there's nothing equivalent in Core or somewhere else ?
Or must I resort to standard system() call, after reopening output streams ?

Ciao

Max
Re: System() call [message #16124 is a reply to message #16018] Wed, 28 May 2008 20:34 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The most imporant tool to do this is in Web package.

Mirek
Previous Topic: Heap-leaks and polymorphic containers
Next Topic: Upp::Time::Get() missing const
Goto Forum:
  


Current Time: Wed Apr 24 13:07:49 CEST 2024

Total time taken to generate the page: 5.79850 seconds