diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-02-08 17:01:51 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-02-08 17:01:51 +0100 |
commit | d4bf91f364f65869102419205879117e6469aafe (patch) | |
tree | 9a69a0a0baabeebd9d91fcea4e11ae8dd50cf586 /scripts/Util.py | |
parent | Fixed UWP controller to also run when in the background (ICE-8305) (diff) | |
download | ice-d4bf91f364f65869102419205879117e6469aafe.tar.bz2 ice-d4bf91f364f65869102419205879117e6469aafe.tar.xz ice-d4bf91f364f65869102419205879117e6469aafe.zip |
Fixed matlab check for testing
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index ec651ef6f1e..21f86b5beff 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -3511,7 +3511,7 @@ except: # Check if Matlab is installed and eventually add the Matlab mapping # try: - run("matlab -help") + run("where matlab" if isinstance(platform, Windows) else "which matlab") Mapping.add("matlab", MatlabMapping()) except: pass |