You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/18 20:33:09 UTC

[GitHub] csantanapr commented on a change in pull request #50: helping python to find itself...

csantanapr commented on a change in pull request #50: helping python to find itself...
URL: https://github.com/apache/incubator-openwhisk-runtime-python/pull/50#discussion_r257820545
 
 

 ##########
 File path: core/pythonActionLoop/pythonbuild.py
 ##########
 @@ -65,7 +65,7 @@ def build(source_dir, target_file, launcher):
     if os.path.isfile(main):
         cmd += """
 cd %s
-exec python %s "$@"
+exec "$(which python)" %s "$@"
 
 Review comment:
   Can we add a test with an action to check that sys.executable is not empty?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services