We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbe1bf commit 7a14e73Copy full SHA for 7a14e73
src/robotide/contrib/testrunner/runprofiles.py
@@ -154,6 +154,12 @@ def get_command(self): # TODO Test on Windows
154
from tempfile import TemporaryFile
155
result = None
156
try:
157
+ with TemporaryFile(mode="at") as out:
158
+ result = call(["robot",
159
+ "--version"], stdout=out)
160
+ if result == 251:
161
+ return "robot"
162
+
163
with TemporaryFile(mode="at") as out:
164
result = call(["robot.bat" if os.name == "nt" else "robot",
165
"--version"], stdout=out)
0 commit comments