Create a null-terminated array of strings from a command-line string.
Source position: genfunch.inc line 17
function CreateShellArgV( |
const prog: ShortString |
):PPAnsiChar; |
const prog: RawByteString |
):PPAnsiChar; |
CreateShellArgV creates a command-line string for executing a shell command using 'sh -c'. The result is a null-terminated array of null-terminated strings suitable for use in fpExecv and friends.
If no more memory is available, a heap error may occur.
|
Execute process. |
|
|
Free the result of a CreateShellArgV function. |