mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-21 14:59:38 +08:00
merged, re-fixed windows get_pwd.
This commit is contained in:
2
testdata/tcl/tester.tcl
vendored
2
testdata/tcl/tester.tcl
vendored
@@ -181,7 +181,7 @@ proc get_pwd {} {
|
||||
set comSpec {C:\Windows\system32\cmd.exe}
|
||||
}
|
||||
return [string map [list \\ /] \
|
||||
[string trim [exec -- $comSpec /c echo %CD%]]]
|
||||
[string trim [exec -- $comSpec /c echo cd ]]]
|
||||
} else {
|
||||
return [pwd]
|
||||
}
|
||||
|
Reference in New Issue
Block a user