[Overview][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements a version of the FCL TProcess that allows UTF-8-encoded arguments.
Source position: utf8process.pp line 48
type TProcessUTF8 = class(TPROCESS) |
||
public |
||
procedure ParseCmdLine(); |
|
Separates values in the CommandLine argument into the Executable and Parameters properties. |
end; |
|
Implements a version of the FCL TProcess that allows UTF-8-encoded arguments. |
|
| | ||
| | ||
| | ||
| | ||
TProcessUTF8 is a TProcess descendant which implements a version of TProcess that accepts and processes UTF-8-encoded arguments. It includes a ParseCmdLine method used to separate a command line into the Executable name and Parameters used in the class instance.
The TProcessUTF8 interface includes additional methods for the Microsoft Windows platform. An overridden Execute method is provided, and protected methods to assign IDs and Handles for the process and its thread. These methods handle Windows-specific nuances required for the CreateProcessW API. This includes security and thread attributes, pipe creation, and any quoting required for file names or parameters with space characters.
TProcessUTF8 is used in the implementation of the Lazarus IDE and related tools like the Debugger, HTML Help viewer, external tools, and the FP Doc Editor. Use TAsyncProcess for a process which receives asynchronous notifications during process execution.
Version 3.2 | Generated 2024-02-25 | Home |