[Properties (by Name)] [Methods (by Name)]
Runs an external program (filename with parameter, or commandline) when active is set to True, without blocking the application
Source position: mseprocess.pas line 163
type tmseprocess = class(tcustommseprocess) |
published |
property filename: filenamety; |
property parameter: msestring; |
property workingdirectory: filenamety; |
property params: tmsestringdatalist; |
property envvars: tmsestringdatalist; |
property active: Boolean; |
property options: processoptionsty; |
property pipewaitus: Integer; |
property statfile: tstatfile; |
property statvarname: msestring; |
property statpriority: Integer; |
property input: tpipewriterpers; |
property output: tpipereaderpers; |
property erroroutput: tpipereaderpers; |
property onprocfinished: notifyeventty; |
property oncheckabort: updatebooleaneventty; |
end; |
|
Runs an external program (filename with parameter, or commandline) when active is set to True, without blocking the application |
|
| | | ||
| | | ||
| | | ||
|
Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component |
|
| | | ||
tcomponent,ievent,iificommand,iificlient |
||
| | | ||
| | | ||
TObject |
Runs an external program (filename with parameter, or commandline) when active is set to True, without blocking the application. onprocfinished is called when the program has terminated; exitcode then holds its exit code. The standard input and outputs of the program are available through input, output and erroroutput. waitforprocess waits for the end of the program, blocking the caller.
To simply run a program and get its output, see also the getprocessoutput functions of this unit.