help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

CreateShellArgV

Create a null-terminated array of strings from a command-line string

Declaration

Source position: line 0

function CreateShellArgV(

  const prog: String

):ppchar;

function CreateShellArgV(

  const prog: Ansistring

):ppchar;

Description

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.

Errors

If no more memory is available, a heap error may occur.

See also

fpExecv

  

Execute process

FreeShellArgV

  

Free the result of a CreateShellArgV function

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505