Arc::ExecutableType Class Reference

Executable. More...

#include <JobDescription.h>

Data Fields

std::string Path
std::list< std::string > Argument
std::pair< bool, int > SuccessExitCode

Detailed Description

Executable.

The ExecutableType class is used to specify path to an executable, arguments to pass to it when invoked and the exit code for successful execution.

NOTE: The Name string member has been renamed to Path.


Field Documentation

std::list<std::string> Arc::ExecutableType::Argument

List of arguments to executable.

The Argument list is used to specify arguments which should be passed to the executable upon invocation.

Path to executable.

The Path string should specify the path to an executable. Note that some implementations might only accept a relative path, while others might also accept a absolute one.

Exit code at successful execution.

The SuccessExitCode pair is used to specify the exit code returned by the executable in case of successful execution. For some scenarios the exit code returned by the executable should be ignored, which is specified by setting the first member of this object to false. If the exit code should be used for validation at the execution service, the first member of pair must be set to true, while the second member should be the exit code returned at successful execution.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:18 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3