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 » LocalProcess to read from stderr
Re: LocalProcess to read from stderr [message #37309 is a reply to message #37275] Tue, 18 September 2012 19:48 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 14 September 2012 02:54

Hello Mirek

I think in Windows, LocalProcess does not get stdout. I have tried this:

String out = Sys("gcc -c mybadprogram.c");


out is empty. However doing this in the command line:




Took me a while to figure this out... Smile

The problem is that gcc returns non-zero exit code, which makes Sys return void. See documentation...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SetEnv()
Next Topic: Xmlize has problem with WithDeepCopy<Array<...
Goto Forum:
  


Current Time: Wed Aug 27 14:19:51 CEST 2025

Total time taken to generate the page: 0.07895 seconds