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 » Possible bug in LocalProcess
Re: Possible bug in LocalProcess [message #47666 is a reply to message #47665] Mon, 27 February 2017 00:36 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Another problem : on second run (and following...) it will not gather error/output from process.
This seems solved adding an Init() along the former args.Clear():

bool LocalProcess::DoStart(const char *command, const Vector<String> *arg, bool spliterr, const char *envptr)
{
	LLOG("LocalProcess::Start(\"" << command << "\")");
	Kill();
args.Clear();   <==== HERE
Init();         <==== HERE


That's weird, I was using localprocess before and it did work. Maybe some changes ?
(system.: Ubuntu Linux 64 bit)
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Small bug in DeleteFolderDeep
Next Topic: new operator declared twice in MinGW TDM
Goto Forum:
  


Current Time: Tue May 07 19:10:05 CEST 2024

Total time taken to generate the page: 0.01987 seconds