Dear @Squid
I dont know too much about php, but i tried to debug your plugin.
I have figured out, that the startScript.sh file already has the symtom that the HOME directory is not set.
But with a 2 line modification i could fix the problem.
I kindly ask you to examine my modification and if you agree, than please add it to your plugin, so others will have the fix too.
With this modification my python plugin works too
Actually i need only the export command and not the source. I thought that it could be useful for others in the future to try to initialize the environment as much close to the login shell as possible.
What is your opinion?