Skip to content

Commit

Permalink
fix gnuradio check for windows cmd (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl committed Dec 1, 2017
1 parent 3c3ab46 commit 8c63637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urh/dev/BackendHandler.py
Expand Up @@ -168,7 +168,7 @@ def set_gnuradio_installed_status(self):
devnull = "NUL" if os.name == "nt" else "/dev/null"
if os.path.isfile(self.python2_exe) and os.access(self.python2_exe, os.X_OK):
# Subprocess.call gives memory error, so we use os.system
self.gnuradio_installed = os.system(self.python2_exe + " -c 'import gnuradio' 2>" + devnull) == 0
self.gnuradio_installed = os.system(self.python2_exe + ' -c "import gnuradio" 2>' + devnull) == 0
constants.SETTINGS.setValue("python2_exe", self.python2_exe)
else:
self.gnuradio_installed = False
Expand Down

0 comments on commit 8c63637

Please sign in to comment.