aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-18 11:04:59 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-18 11:04:59 +1000
commit80b4055eab16e5b96015f128367d980f9fee4a1f (patch)
tree78543381c4579987a114cf38caa16f19bdcea8a9 /proc.h
parent94b7c8d5e6a758d35f6a198babb0e8a4afb80dcb (diff)
Add support for the -n switch to skip execution of any commands
darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 98b365b0..27496660 100644
--- a/proc.h
+++ b/proc.h
@@ -232,6 +232,12 @@ extern pid_t proc_last_bg_pid;
extern int job_control_mode;
/**
+ If this flag is set, fish will never fork or run execve.
+*/
+extern int no_exec;
+
+
+/**
Sets the status of the last process to exit
*/
void proc_set_last_status( int s );