diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-07 11:35:22 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-07 11:35:22 -0800 |
commit | ce859c9e92cc50f9b4ff20edfec8e905c298d29a (patch) | |
tree | e5e6a01755ac10d433588b5b0528c0e82d8eed8a /exec.cpp | |
parent | 8ed20f3c28fd194762afe2b859e0b3cacc066e61 (diff) |
Added some missing calls to setup_fork_guards() in utilities.
Made echo a builtin
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1238,8 +1238,12 @@ void exec( parser_t &parser, job_t *j ) const char *actual_cmd = actual_cmd_str.c_str(); const wchar_t *reader_current_filename(); - if (g_log_forks) + if (g_log_forks) { printf("forking for '%s' in '%ls'\n", actual_cmd, reader_current_filename()); + if (std::string(actual_cmd) == "/usr/bin/getopt") { + puts("wat"); + } + } pid = execute_fork(true /* must drain threads */); if( pid == 0 ) { |