summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-06-25 15:59:05 -0600
committerDave Smith <dizzyd@dizzyd.com>2013-06-25 15:59:05 -0600
commit490d00f0d6c5be2e513829185e011aa46a696037 (patch)
tree6ec86194b627c0444974b1c7c69640c3021a859d
parent4b642bf9166473a7766c9071939cc7b237fae0e4 (diff)
Adding debug statements closer to open_port
-rw-r--r--src/rebar_utils.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 64ac4a9..4a74661 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -108,6 +108,7 @@ sh(Command0, Options0) ->
Command = patch_on_windows(Command0, proplists:get_value(env, Options, [])),
PortSettings = proplists:get_all_values(port_settings, Options) ++
[exit_status, {line, 16384}, use_stdio, stderr_to_stdout, hide],
+ ?DEBUG("Port Cmd: ~p\nPort Opts: ~p\n", [Command, PortSettings]),
Port = open_port({spawn, Command}, PortSettings),
case sh_loop(Port, OutputHandler, []) of