ultimatepp/bazaar/SysExec/SysExec.h
micio a0c74c982d Bazaar/SysExec : fixed SysStart return value type
git-svn-id: svn://ultimatepp.org/upp/trunk@3008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-15 21:30:31 +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
intptr_t SysStart(String const &command, String const &args, const VectorMap<String, String> &Environ);
intptr_t SysStart(String const &command, String const &args);
END_UPP_NAMESPACE
#endif