CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
ProcessOpts Struct Reference

#include <process.h>

Data Fields

string workdir
 Directory to start the child in; empty inherits the caller's.
 
ProcStdio stdio
 What to do with the child's stdin, stdout and stderr.
 
string stdioPath
 File for PROC_StdioFile; required in that mode, ignored otherwise.
 
hashtable env
 Variables to set in the child, name to value.
 
sa_string envUnset
 Variables to remove from the child.
 
flags_t flags
 ProcLaunchFlags.
 

Detailed Description

Options for procLaunch()

Initialize with procOptsInit() and clean up with procOptsDestroy(). Passing NULL to procLaunch() instead inherits everything from the calling process.

Paths are ordinary cx paths, the same as the fs functions take. A relative path is relative to the caller's current directory.

Definition at line 324 of file process.h.


The documentation for this struct was generated from the following file: