mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
24 lines
421 B
C
24 lines
421 B
C
|
/*
|
||
|
* Copyright 1993, 1995 Christopher Seiwald.
|
||
|
*
|
||
|
* This file is part of Jam - see jam.c for Copyright information.
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* execcmd.h - execute a shell script
|
||
|
*
|
||
|
* 05/04/94 (seiwald) - async multiprocess interface
|
||
|
*/
|
||
|
|
||
|
void execcmd(
|
||
|
char *string,
|
||
|
void (*func)( void *closure, int status ),
|
||
|
void *closure,
|
||
|
LIST *shell );
|
||
|
|
||
|
int execwait();
|
||
|
|
||
|
# define EXEC_CMD_OK 0
|
||
|
# define EXEC_CMD_FAIL 1
|
||
|
# define EXEC_CMD_INTR 2
|