@@ -249,8 +249,8 @@ process_spawn(process_t* proc) {
249
249
log_warn (0 , WARNING_UNSUPPORTED , STRING_CONST ("Unable to redirect standard in/out"
250
250
" through pipes when using ShellExecute for process spawning" ));
251
251
252
- log_debugf (0 , STRING_CONST ("Spawn process (ShellExecute): %.*s %.*s" ),
253
- STRING_FORMAT (proc -> path ), STRING_FORMAT (cmdline ));
252
+ // log_debugf(0, STRING_CONST("Spawn process (ShellExecute): %.*s %.*s"),
253
+ // STRING_FORMAT(proc->path), STRING_FORMAT(cmdline));
254
254
255
255
if (!ShellExecuteExW (& sei )) {
256
256
string_const_t errstr = system_error_message (0 );
@@ -292,8 +292,8 @@ process_spawn(process_t* proc) {
292
292
inherit_handles = TRUE;
293
293
}
294
294
295
- log_debugf (0 , STRING_CONST ("Spawn process (CreateProcess): %.*s %.*s" ),
296
- STRING_FORMAT (proc -> path ), STRING_FORMAT (cmdline ));
295
+ // log_debugf(0, STRING_CONST("Spawn process (CreateProcess): %.*s %.*s"),
296
+ // STRING_FORMAT(proc->path), STRING_FORMAT(cmdline));
297
297
298
298
if (!CreateProcessW (0 , wcmdline , 0 , 0 , inherit_handles ,
299
299
(proc -> flags & PROCESS_CONSOLE ) ? CREATE_NEW_CONSOLE : 0 , 0 , wwd , & si , & pi )) {
@@ -365,7 +365,7 @@ process_spawn(process_t* proc) {
365
365
params .application = fsref ;
366
366
params .argv = argvref ;
367
367
368
- log_debugf (0 , STRING_CONST ("Spawn process (LSOpenApplication): %.*s" ), STRING_FORMAT (localpath ));
368
+ // log_debugf(0, STRING_CONST("Spawn process (LSOpenApplication): %.*s"), STRING_FORMAT(localpath));
369
369
370
370
status = LSOpenApplication (& params , & psn );
371
371
if (status != 0 ) {
@@ -448,12 +448,12 @@ process_spawn(process_t* proc) {
448
448
if (pid == 0 ) {
449
449
//Child
450
450
if (proc -> wd .length ) {
451
- log_debugf (0 , STRING_CONST ("Spawned child process, setting working directory to %.*s" ),
452
- STRING_FORMAT (proc -> wd ));
451
+ // log_debugf(0, STRING_CONST("Spawned child process, setting working directory to %.*s"),
452
+ // STRING_FORMAT(proc->wd));
453
453
environment_set_current_working_directory (STRING_ARGS (proc -> wd ));
454
454
}
455
455
456
- log_debugf (0 , STRING_CONST ("Child process executing: %.*s" ), STRING_FORMAT (proc -> path ));
456
+ // log_debugf(0, STRING_CONST("Child process executing: %.*s"), STRING_FORMAT(proc->path));
457
457
458
458
if (proc -> flags & PROCESS_STDSTREAMS ) {
459
459
pipe_close_read (proc -> pipeout );
@@ -478,7 +478,7 @@ process_spawn(process_t* proc) {
478
478
memory_deallocate (argv );
479
479
480
480
if (pid > 0 ) {
481
- log_debugf (0 , STRING_CONST ("Child process forked, pid %d" ), pid );
481
+ // log_debugf(0, STRING_CONST("Child process forked, pid %d"), pid);
482
482
483
483
proc -> pid = pid ;
484
484
0 commit comments