forked from platypush/platypush
Use sys.executable
rather than 'python'
to launch the application.
This commit is contained in:
parent
0a5fc40dc5
commit
e463a52435
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class ApplicationProcess(ControllableProcess):
|
|||
self.logger.info('Starting application...')
|
||||
|
||||
with subprocess.Popen(
|
||||
['python', '-m', 'platypush.app', *self.args],
|
||||
[sys.executable, '-m', 'platypush.app', *self.args],
|
||||
stdin=sys.stdin,
|
||||
stdout=sys.stdout,
|
||||
stderr=sys.stderr,
|
||||
|
|
Loading…
Reference in a new issue