Commit cd70518e authored by Tomasz Maczukin's avatar Tomasz Maczukin

Merge branch 'fix/windows-cmd-debug-trace' into 'master'

Make CI_DEBUG_TRACE working on Windows CMD

Closes #2114

See merge request !483
parents 7f2bdfe8 404c4cad
......@@ -202,6 +202,8 @@ func (b *CmdWriter) Finish(trace bool) string {
w := bufio.NewWriter(&buffer)
if trace {
io.WriteString(w, "@echo on\r\n")
} else {
io.WriteString(w, "@echo off\r\n")
......@@ -217,7 +219,7 @@ func (b *CmdWriter) Finish(trace bool) string {
func (b *CmdShell) GetConfiguration(info common.ShellScriptInfo) (script *common.ShellConfiguration, err error) {
script = &common.ShellConfiguration{
Command: "cmd",
Arguments: []string{"/Q", "/C"},
Arguments: []string{"/C"},
PassFile: true,
Extension: "cmd",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment