From c63206558fcb01ea367f04d19e20e208350bf98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 18 Jun 2012 23:30:58 +0000 Subject: [PATCH] Added logging the exact command-line string passed to the CreateProcessA() Windows API in Boost Build's execnt.c module. [SVN r78992] --- src/engine/execnt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/execnt.c b/src/engine/execnt.c index cdf239f09..fe2540e09 100644 --- a/src/engine/execnt.c +++ b/src/engine/execnt.c @@ -454,6 +454,10 @@ void exec_cmd string_new( &cmdtab[ slot ].buffer_out ); string_new( &cmdtab[ slot ].buffer_err ); + if ( DEBUG_EXECCMD ) + printf( "Command string to be sent to CreateProcessA(): '%s'\n", + cmd.value ); + /* Run the command by creating a sub-process for it. */ if ( ! CreateProcessA(