projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exit system.c, mutt_system goes into lib-sys/
[apps/madmutt.git]
/
lib-sys
/
unix.h
diff --git
a/lib-sys/unix.h
b/lib-sys/unix.h
index
b43077a
..
0911521
100644
(file)
--- a/
lib-sys/unix.h
+++ b/
lib-sys/unix.h
@@
-27,4
+27,12
@@
ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, rx_t *rx);
ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, rx_t *rx);
+
+/* flags for _mutt_system() */
+#define M_DETACH_PROCESS 1 /* detach subprocess from group */
+
+#define mutt_system(x) _mutt_system(x,0)
+int _mutt_system (const char *, int);
+
+
#endif /* MUTT_LIB_SYS_UNIX_H */
#endif /* MUTT_LIB_SYS_UNIX_H */