bunpen: use stdlib log
isntead of raw fmt::printfln
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
// vim: set shiftwidth=2 :
|
// vim: set shiftwidth=2 :
|
||||||
use fmt;
|
use log;
|
||||||
use strings;
|
use strings;
|
||||||
use os;
|
use os;
|
||||||
use os::exec;
|
use os::exec;
|
||||||
|
|
||||||
fn do_exec(args: []str) never = {
|
fn do_exec(args: []str) never = {
|
||||||
let joined = strings::join(" ", args...);
|
let joined = strings::join(" ", args...);
|
||||||
fmt::printfln("exec: {}", joined)!;
|
log::printfln("exec: {}", joined);
|
||||||
free(joined);
|
free(joined);
|
||||||
|
|
||||||
let cmd = os::exec::cmd(args[0], args[1..]...)!;
|
let cmd = os::exec::cmd(args[0], args[1..]...)!;
|
||||||
|
Reference in New Issue
Block a user