Exec now uses ConstString
This commit is contained in:
parent
5ab77870d1
commit
dc231c6638
@ -5,9 +5,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <Xmd/String.h>
|
||||||
|
|
||||||
/* XmdVaPipedExecPath is like XmdPipedExecPath, but it takes in a vararg list to
|
/* XmdVaPipedExecPath is like XmdPipedExecPath, but it takes in a vararg list to
|
||||||
use as the "args" array. The vararg list must be terminated by NULL. */
|
use as the "args" array. The vararg list must be terminated by NULL. */
|
||||||
FILE *XmdVaPipedExecPath (const String file, pid_t *child, String mode, ...);
|
FILE *XmdVaPipedExecPath (ConstString file, pid_t *child, String mode, ...);
|
||||||
|
|
||||||
/* XmdPipedExecPath is like popen(), but takes in an explicit command name and
|
/* XmdPipedExecPath is like popen(), but takes in an explicit command name and
|
||||||
argument list instead of a shell command. The argument list must be
|
argument list instead of a shell command. The argument list must be
|
||||||