Skip to content

Properties of TProcess

Properties

Member Visibility Description
Active published Start or stop the process.
ApplicationName published Name of the application to start (deprecated).
CommandLine published Command-line to execute (deprecated).
ConsoleTitle published Title of the console window.
CurrentDirectory published Working directory of the process.
Desktop published Desktop on which to start the process.
Environment published Environment variables for the new process.
ErrorDescriptor published
Executable published Executable name. Supersedes CommandLine and ApplicationName.
ExitCode read only public Exit code of the process.
ExitStatus read only public Exit status of the process.
FillAttribute published Color attributes of the characters in the console window (Windows only).
Handle read only public Handle of the process.
InheritHandles public Should the created process inherit the open handles of the current process.
Input read only public Stream connected to standard input of the process.
InputDescriptor published
Options published Options to be used when starting the process.
Output read only public Stream connected to standard output of the process.
OutputDescriptor published
Parameters published Command-line arguments. Supersedes CommandLine.
PipeBufferSize published Buffer size to be used when using pipes.
Priority published Priority at which the process is running.
ProcessHandle read only public Alias for Handle.
ProcessID read only public ID of the process.
RunCommandSleepTime public Sleep time between attempts to collect data.
Running read only published Determines whether the process is still running.
ShowWindow published Determines how the process main window is shown (Windows only).
SkipCommandLineQuotes published
StartupOptions published Additional (Windows) startup options.
Stderr read only public Stream connected to standard diagnostic output of the process.
ThreadHandle read only public Main process thread handle.
ThreadID read only public ID of the main process thread.
WindowColumns published Number of columns in console window (windows only).
WindowHeight published Height of the process main window.
WindowLeft published X-coordinate of the initial window (Windows only).
WindowRect public Positions for the main program window.
WindowRows published Number of rows in console window (Windows only).
WindowTop published Y-coordinate of the initial window (Windows only).
WindowWidth published Height of the process main window (Windows only).
XTermProgram published XTerm program to use (UNIX only).