ultimatepp/bazaar/SysExec/SysExec.h
micio 66b4da328e Bazaar/SysExec : added SysStart() functions run a process without waiting
git-svn-id: svn://ultimatepp.org/upp/trunk@2991 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-11 18:42:01 +00:00

24 lines
1.1 KiB
C

#ifndef _SysExex_h_
#define _SysExex_h_
#include <Core/Core.h>
NAMESPACE_UPP
///////////////////////////////////////////////////////////////////////////////////////////////
// executes an external command, passing a command line to it and gathering the output
// from both stdout and stderr
bool SysExec(String const &command, String const &args, const VectorMap<String, String> &Environ, String &OutStr, String &ErrStr);
bool SysExec(String const &command, String const &args, String &OutStr, String &ErrStr);
bool SysExec(String const &command, String const &args, const VectorMap<String, String> &Environ, String &OutStr);
bool SysExec(String const &command, String const &args, String &OutStr);
bool SysExec(String const &command, String const &args);
///////////////////////////////////////////////////////////////////////////////////////////////
// executes an external command, passing a command line to it without waiting for its termination
bool SysStart(String const &command, String const &args, const VectorMap<String, String> &Environ);
bool SysStart(String const &command, String const &args);
END_UPP_NAMESPACE
#endif