aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-06 15:12:37 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-06 15:12:37 -0800
commit36fe1e4a463560672cbf8cbfbe45b26fcf2a2377 (patch)
treef14e51fd3a7fffd9cabfa4cc08a1d414890102b0 /exec.cpp
parent9ee4e4e05c46669ed9c254188fd5aa83aa5374f2 (diff)
Some initial work towards cutting down the number of fork calls we do
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec.cpp b/exec.cpp
index 6f3ae549..f96fcf3f 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -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 )
{