kumargoudham / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Option to set environment variables through settings.json #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It works on my machine because I have python installed. One of users reported a 
problem that it's not working on his computer, see:

https://groups.google.com/d/msg/phpdesktop/8vgK2pmmszs/YSRHj5Hzl6oJ

Original issue reported on code.google.com by czarek.t...@gmail.com on 28 Apr 2014 at 1:12

GoogleCodeExporter commented 9 years ago
A solution may be to be able to set environment variables through the 
settings.json file. Setting PYTHONHOME / PYTHONPATH may be required for the 
python to work.

Original comment by czarek.t...@gmail.com on 28 Apr 2014 at 1:17

GoogleCodeExporter commented 9 years ago
Setting PYTHONPATH / PYTHONHOME is currently possible using the 
--cgi-environment command line parameter, see the CGIEnvironmentFromArgs wiki 
page.

Original comment by czarek.t...@gmail.com on 11 May 2014 at 2:18

GoogleCodeExporter commented 9 years ago
Another temporary solution is to use a batch file, phpdesktop.bat:

set PYTHONHOME=%~dp0python
set PYTHONPATH=%~dp0python\Lib
set PATH=%PYTHONHOME%;%PATH%
start "My Title" "%~dp0python-desktop-chrome.exe"

Original comment by czarek.t...@gmail.com on 11 May 2014 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 9 Aug 2014 at 6:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Oct 2014 at 10:39