mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-05 07:46:50 +08:00
get_pwd fix for windows
This commit is contained in:
2
testdata/tcl/tester.tcl
vendored
2
testdata/tcl/tester.tcl
vendored
@@ -175,7 +175,7 @@ proc get_pwd {} {
|
|||||||
# defeat the purpose of this procedure.
|
# defeat the purpose of this procedure.
|
||||||
#
|
#
|
||||||
return [string map [list \\ /] \
|
return [string map [list \\ /] \
|
||||||
[string trim [exec -- $::env(ComSpec) /c echo %CD%]]]
|
[string trim [exec -- $::env(ComSpec) /c cd ]]]
|
||||||
} else {
|
} else {
|
||||||
return [pwd]
|
return [pwd]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user