Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
8
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
cznic
sqlite
Commits
c1357b87
Commit
c1357b87
authored
Jan 18, 2021
by
JasonTashtego
Browse files
cleanup get working dir on windows: "echo /c %CD%" -> "/c cd "
parent
0a7471a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
testdata/tcl/crash5.test
View file @
c1357b87
...
...
@@ -50,7 +50,7 @@ for {set ii 0} {$ii < 10} {incr ii} {
proc
get_pwd
{}
{
if
{
$
::
tcl_platform
(
platform
)
eq
"windows"
}
{
return
[
string
map
[
list
\\
/
]
\
[
string
trim
[
exec
--
$
::
env
(
ComSpec
)
/
c
echo
%
CD
%
]]]
[
string
trim
[
exec
--
$
::
env
(
ComSpec
)
/
c
cd
]]]
}
else
{
return
[
pwd
]
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment