diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-06 15:12:37 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-06 15:12:37 -0800 |
commit | 36fe1e4a463560672cbf8cbfbe45b26fcf2a2377 (patch) | |
tree | f14e51fd3a7fffd9cabfa4cc08a1d414890102b0 /exec.cpp | |
parent | 9ee4e4e05c46669ed9c254188fd5aa83aa5374f2 (diff) |
Some initial work towards cutting down the number of fork calls we do
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1237,6 +1237,8 @@ void exec( parser_t &parser, job_t *j ) std::string actual_cmd_str = wcs2string(p->actual_cmd); const char *actual_cmd = actual_cmd_str.c_str(); + const wchar_t *reader_current_filename(); + printf("forking for '%s' in '%ls'\n", actual_cmd, reader_current_filename()); pid = execute_fork(true /* must drain threads */); if( pid == 0 ) { |