3 #ifndef _SPAWN_COMMAND_H_INCLUDED_
4 #define _SPAWN_COMMAND_H_INCLUDED_
10 /* run external command
12 /* #include <spawn_command.h>
19 #define SPAWN_CMD_END 0 /* terminator */
20 #define SPAWN_CMD_ARGV 1 /* command is array */
21 #define SPAWN_CMD_COMMAND 2 /* command is string */
22 #define SPAWN_CMD_STDIN 3 /* mail_copy() flags */
23 #define SPAWN_CMD_STDOUT 4 /* mail_copy() sender */
24 #define SPAWN_CMD_STDERR 5 /* mail_copy() recipient */
25 #define SPAWN_CMD_UID 6 /* privileges */
26 #define SPAWN_CMD_GID 7 /* privileges */
27 #define SPAWN_CMD_TIME_LIMIT 8 /* time limit */
28 #define SPAWN_CMD_ENV 9 /* extra environment */
29 #define SPAWN_CMD_SHELL 10 /* alternative shell */
30 #define SPAWN_CMD_EXPORT 11 /* exportable parameters */
32 extern WAIT_STATUS_T
spawn_command(int,...);
37 /* The Secure Mailer license must be distributed with this software.
40 /* IBM T.J. Watson Research
42 /* Yorktown Heights, NY 10598, USA