Commit 2a8d08f9 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed grid submission in case we are not in the current package directory

parent 49b9e491
......@@ -40,7 +40,7 @@ class GridSubmission:
if command_line_parameters is None:
command_line_parameters = sys.argv[1:]
executables = bob.extension.find_executable(executable, prefixes = ['bin'])
executables = bob.extension.find_executable(executable, prefixes = [os.path.dirname(sys.argv[0]), 'bin'])
if not len(executables):
raise IOError("Could not find the '%s' executable." % executable)
executable = executables[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment