Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
e4b45101
Commit
e4b45101
authored
17 years ago
by
Christian Goetze
Browse files
Options
Downloads
Patches
Plain Diff
Added workaround for popen bug in scripts/update_version_files.py
when executable is in a weird location...
parent
e7a8acad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/update_version_files.py
+3
-0
3 additions, 0 deletions
scripts/update_version_files.py
with
3 additions
and
0 deletions
scripts/update_version_files.py
+
3
−
0
View file @
e4b45101
...
...
@@ -61,6 +61,9 @@ def usage():
def
_getstatusoutput
(
cmd
):
"""
Return Win32 (status, output) of executing cmd
in a shell.
"""
if
os
.
path
.
sep
!=
"
/
"
:
# stupid #%#$$ windows
cmd
=
'
cmd.exe /c
"'
+
cmd
+
'"'
pipe
=
os
.
popen
(
cmd
,
'
r
'
)
text
=
pipe
.
read
()
sts
=
pipe
.
close
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment