1/* 2 * Copyright 1993, 1995 Christopher Seiwald. 3 * 4 * This file is part of Jam - see jam.c for Copyright information. 5 */ 6 7/* 8 * execcmd.h - execute a shell script 9 * 10 * 05/04/94 (seiwald) - async multiprocess interface 11 */ 12 13void execcmd( 14 char *string, 15 void (*func)( void *closure, int status ), 16 void *closure, 17 LIST *shell ); 18 19int execwait(); 20 21# define EXEC_CMD_OK 0 22# define EXEC_CMD_FAIL 1 23# define EXEC_CMD_INTR 2 24