diff --git a/openquake/job/__init__.py b/openquake/job/__init__.py
index <HASH>..<HASH> 100644
--- a/openquake/job/__init__.py
+++ b/openquake/job/__init__.py
@@ -33,6 +33,7 @@ from openquake import flags
 from openquake import java
 from openquake import kvs
 from openquake import logs
+from openquake import OPENQUAKE_ROOT
 from openquake import shapes
 from openquake.supervising import supervisor
 from openquake.db.alchemy.db_utils import get_db_session
@@ -91,6 +92,9 @@ def spawn_job_supervisor(job_id, pid):
             LOG.warn('If you want to run supervised jobs it\'s better '
                      'to set [logging] backend=amqp in openquake.cfg')
 
+        if not os.path.isabs(exe):
+            exe = os.path.join(OPENQUAKE_ROOT, exe)
+
         cmd = [exe, str(job_id), str(pid)]
 
         supervisor_pid = subprocess.Popen(cmd, env=os.environ).pid
Made explicit the root of a relative path to the supervisor executable.


Former-commit-id: 2bd<I>fec<I>b<I>ad9f<I>bcc<I>ec<I>d4e5