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 » Developing U++ » UppHub » Added SysExec package
Re: Added SysExec package [message #19121 is a reply to message #16047] Thu, 13 November 2008 12:23 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3358
Registered: August 2008
Senior Veteran
Hello Max

It is Ok. SystemLog is useful for me and I will use it in the Sys functions I am doing now.
One question: How to send the log to certain file?

I have tried SysExec but compiling with MSC9 I get a Window error when executing
result = _spawnvpe(_P_WAIT, command, argv, envv);

with this:
"Microsoft Visual C++ Debug Library. Program: ... File: ..\spawnvpe.c Line: 84 Expression: **argv != _T('\0') ...

The program is:

String out;
SysExec("mencoder", "", out);

Compiling with MinGW the program works well.

Previously I had to change
bool SysExec(String const &command, String const &args, String OutStr)
{
	String ErrStr;
	return SysExec(command, args, Environment(), OutStr, ErrStr);

}
as the third argument was declared in the SysExec.h file as "String &OutStr".

Ah!, I have used SVN 625.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Control4U_demo cannot close ?
Next Topic: Job package: A lightweight worker thread for non-blocking operations.
Goto Forum:
  


Current Time: Mon Apr 29 13:18:28 CEST 2024

Total time taken to generate the page: 0.02752 seconds