A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbiexec_8hpp_source.html below:

NCBI C++ ToolKit: include/corelib/ncbiexec.hpp Source File

1 #ifndef CORELIB__NCBIEXEC__HPP 2 #define CORELIB__NCBIEXEC__HPP 97 

eWaitGroup = eWait | fNewGroup,

106 

eNoWaitGroup = eNoWait | fNewGroup,

130  CResult

() : m_Flags(0) { memset(&m_Result, 0,

sizeof

(m_Result)); }

144

fBoth = fExitCode | fHandle

177  static string QuoteArg

(

const string

& arg);

208  Spawn

(

const string

& cmdname,

const

vector<string>& args,

const

vector<string>&

env

,

293  const char

*argv, ...

);

380  const char

*argv, ...

);

452  const char

*

const

*argv,

const char

*

const

*envp);

536  const char

*

const

*argv,

const char

*

const

*envp);

596  static int Wait

(list<TProcessHandle>& handles,

635  const char

*argv, ...

);

665  static string ResolvePath

(

const string

& filename);

691  virtual const char

* GetErrCodeString(

void

)

const override

;

CErrnoTemplException –.

The result type for Spawn methods.

static TExitCode System(const char *cmdline)

Execute the specified command.

static CResult RunSilent(EMode mode, const char *cmdname, const char *argv,...)

Run console application in invisible mode.

static CResult Spawn(const string &cmdname, EMode mode, TModeFlags flags=0)

static bool IsExecutable(const string &path)

Check executable permissions for specified file.

CResult()

Default ctor – zero everything.

static CResult SpawnLPE(EMode mode, const char *cmdname, const char *argv,...)

Spawn a new process with specified command-line arguments, environment settings and find file to exec...

static CResult Spawn(const string &cmdname, const vector< string > &args, const vector< string > &env, EMode mode, TModeFlags flags=0)

Spawn a new process.

int TExitCode

Exit code type.

static CResult SpawnVP(EMode mode, const char *cmdname, const char *const *argv=NULL)

Spawn a new process with variable number of command-line arguments and find file to execute from the ...

EModeFlags

Modification flags for EMode.

EErrCode

Error types that CExec can generate.

static CResult SpawnLP(EMode mode, const char *cmdname)

unsigned int TModeFlags

bitwise OR of "EModeFlag"

NCBI_EXCEPTION_DEFAULT(CExecException, CErrnoTemplException< CCoreException >)

EMode

Which exec mode the spawned process is called with.

static string ResolvePath(const string &filename)

Find executable file.

static CResult SpawnL(EMode mode, const char *cmdname, const char *argv,...)

Spawn a new process with specified command-line arguments.

static string QuoteArg(const string &arg)

Quote argument.

static CResult SpawnL(EMode mode, const char *cmdname)

static CResult SpawnLP(EMode mode, const char *cmdname, const char *argv,...)

Spawn a new process with variable number of command-line arguments and find file to execute from the ...

static CResult SpawnV(EMode mode, const char *cmdname, const char *const *argv=NULL)

Spawn a new process with variable number of command-line arguments.

int TFlags

Binary OR of "EFlags".

static TExitCode Wait(TProcessHandle handle, unsigned long timeout=kInfiniteTimeoutMs)

Wait until specified process terminates.

static CResult SpawnVPE(EMode mode, const char *cmdname, const char *const *argv, const char *const *envp)

Spawn a new process with variable number of command-line arguments and specified environment settings...

static CResult Spawn(const string &cmdname, const vector< string > &args, EMode mode, TModeFlags flags=0)

static CResult SpawnLE(EMode mode, const char *cmdname, const char *argv,...)

Spawn a new process with specified command-line arguments and environment settings.

EFlags

Flags defines what this class store.

EWaitMode

Mode used to wait processes termination.

static CResult SpawnVE(EMode mode, const char *cmdname, const char *const *argv, const char *const *envp)

Spawn a new process with variable number of command-line arguments and specified environment settings...

TFlags m_Flags

What m_Result stores.

@ eWaitAny

Wait any process to terminate.

@ eWaitAll

Wait all processes to terminate.

const unsigned long kInfiniteTimeoutMs

Infinite timeout in milliseconds.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_XNCBI_EXPORT

Defines process management classes.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4