VCF::Process Class Reference
#include <vcf/FoundationKit/VCFProcess.h>
Inheritance diagram for VCF::Process:
List of all members.
Constructor & Destructor Documentation
| VCF::Process::Process |
( |
|
) |
|
|
| virtual VCF::Process::~Process |
( |
|
) |
[virtual] |
|
Member Function Documentation
| bool VCF::Process::createProcess |
( |
const String & |
processName, |
|
|
const String & |
arguments |
|
) |
|
|
|
|
The default behaviour is to just start the process, assuming the processName is a path to the executable.
However, we are now going to get a tad fancier!
If the processName is a directory, we will try and locate the Info.plist/Info.xml file, read it, and, based on the info we get, attempt to use this to open the binary inside. - Parameters:
-
| String | the fully qualified file name of the process to create, or a directory that includes a Info.plist/Info.xml file in it identifying the process's ProgramInfo. |
- See also:
- System::getProgramInfoFromFileName()
ProgramInfo
- Parameters:
-
| String | the command line arguments to pass to the newly created process. |
|
| int VCF::Process::getID |
( |
|
) |
|
|
| String VCF::Process::getName |
( |
|
) |
|
|
| virtual OSHandleID VCF::Process::getPeerHandleID |
( |
|
) |
[virtual] |
|
| int VCF::Process::getThreadID |
( |
|
) |
|
|
| uint32 VCF::Process::terminate |
( |
|
) |
|
|
| virtual WaitResult VCF::Process::wait |
( |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: