Changeset 138943 for trunk/base


Ignore:
Timestamp:
Jul 24, 2015, 8:35:45 PM (5 years ago)
Author:
raimue@…
Message:

pextlib1.0: Log all system commands at debug level
port1.0: Remove redundant logging

Location:
trunk/base/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/pextlib1.0/system.c

    r138941 r138943  
    166166    }
    167167
     168    /* print debug command info */
     169    if (path) {
     170        ui_debug(interp, "system -W %s: %s", path, cmdstring);
     171    } else {
     172        ui_debug(interp, "system: %s", cmdstring);
     173    }
     174
    168175    /* check if and how we should use sandbox-exec */
    169176    sandbox = check_sandboxing(interp, &sandbox_exec_path, &profilestr);
  • trunk/base/src/port1.0/portutil.tcl

    r138749 r138943  
    368368    }
    369369
    370     ui_debug "Assembled command: '$cmdstring'"
    371370    return $cmdstring
    372371}
     
    451450    # Call the command.
    452451    set fullcmdstring "$command_prefix $cmdstring $command_suffix"
    453     ui_debug "Executing command line: $fullcmdstring"
    454452    set code [catch {system {*}$notty {*}$nice $fullcmdstring} result]
    455453    # Save variables in order to re-throw the same error code.
Note: See TracChangeset for help on using the changeset viewer.