nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a9c63
)
src: `exec_and_check` print to stderr
author
Alexis Laferrière
<alexis.laf@xymus.net>
Fri, 9 Sep 2016 14:35:19 +0000
(10:35 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 21 Sep 2016 16:57:59 +0000
(12:57 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/toolcontext.nit
patch
|
blob
|
history
diff --git
a/src/toolcontext.nit
b/src/toolcontext.nit
index
8cea80f
..
bc99f81
100644
(file)
--- a/
src/toolcontext.nit
+++ b/
src/toolcontext.nit
@@
-340,7
+340,7
@@
class ToolContext
proc_which.wait
var res = proc_which.status
if res != 0 then
- print "{error}: executable \"{prog}\" not found"
+ print_error "{error}: executable \"{prog}\" not found"
exit 1
end
@@
-349,7
+349,7
@@
class ToolContext
proc.wait
res = proc.status
if res != 0 then
- print "{error}: execution of \"{prog} {args.join(" ")}\" failed"
+ print_error "{error}: execution of \"{prog} {args.join(" ")}\" failed"
exit 1
end
end