mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Adding debug statements closer to open_port
This commit is contained in:
parent
4b642bf916
commit
490d00f0d6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue