Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
6e13df09
Commit
6e13df09
authored
Sep 13, 2018
by
Remi Perenon
Browse files
Merge branch 'bugfix-regression_launch_job_windows' into 'develop'
Bugfix regression launch job windows See merge request
!38
parents
77edb103
62f5dcff
Pipeline
#4455
passed with stages
in 25 minutes and 29 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
6e13df09
...
...
@@ -2,6 +2,7 @@ version 1.2.0
--------------
* ADDED issue #27 Better error handling when an error occurs when running an analysis from the GUI
* ADDED issue #10 Implemented Gromacs trajectory converter
* FIXED issue #36 Jobs could not be launched on Windows machines
* FIXED issue #35 Result of RBT was incorrect /!\ Modifies job behavior
* FIXED issue #32 Result of DCSF was incorrect (the QVectors changed over frames) /!\ Modifies job behavior
* FIXED issue #31 Result of RMSD was incorrect (the sqrt was not applied) /!\ Modifies job behavior
...
...
Src/GUI/Plugins/JobPlugin.py
View file @
6e13df09
...
...
@@ -112,15 +112,13 @@ class JobPlugin(ComponentPlugin):
self
.
_job
.
save
(
filename
,
parameters
)
if
PLATFORM
.
name
==
"windows"
:
startupinfo
=
subprocess
.
STARTUPINFO
()
startupinfo
.
dwFlags
|=
subprocess
.
STARTF_USESHOWWINDOW
startupinfo
.
wShowWindow
=
subprocess
.
SW_HIDE
else
:
startupinfo
=
None
try
:
from
subprocess
import
DEVNULL
except
ImportError
:
DEVNULL
=
os
.
open
(
os
.
devnull
,
os
.
O_RDWR
)
try
:
subprocess
.
check_output
([
sys
.
executable
,
filename
],
stderr
=
subprocess
.
STDOUT
)
subprocess
.
check_output
([
sys
.
executable
,
filename
],
stdin
=
DEVNULL
,
stderr
=
DEVNULL
)
except
subprocess
.
CalledProcessError
as
e
:
message
=
e
.
output
else
:
...
...
Write
Preview
Markdown
is supported
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