The side branch merged in the previous commit introduces new 'exec'
calls. Convert these in the same way we did earlier for existing
'exec' calls.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
}
if {[is_Windows]} {
- set _shellpath [exec cygpath -m $_shellpath]
+ set _shellpath [safe_exec [list cygpath -m $_shellpath]]
}
if {![file executable $_shellpath] || \
if {[is_Windows]} {
# Use /git-bash.exe if available
- set _git_bash [exec cygpath -m /git-bash.exe]
+ set _git_bash [safe_exec [list cygpath -m /git-bash.exe]]
if {[file executable $_git_bash]} {
set _bash_cmdline [list "Git Bash" $_git_bash]
} else {