Closed bitsgalore closed 7 years ago
Popen problem fixed by: https://github.com/KBNLresearch/iromlab/commit/5805416398b93ef0fdd07377ebc1a0339c020dee
BUT:
The package does not create any start menu items or desktop shortcuts, so these have to be made manually (not really a problem as you only need to do this once). Might be possible to automate this as well though, see:
and:
https://docs.python.org/3.4/distutils/builtdist.html#the-postinstallation-script
example here:
BUT functions to get desktop & write shortcut don't work, so use this:
BUT KB PCs don't use the default Desktop location, so you'd need to get it from the Windows Registry:
All FIXED, Desktop shortcut now created as post-install: https://github.com/KBNLresearch/iromlab/commit/3e798e74aa18d860432c164c905513194a2d7298
Tried this in setup.py:
https://github.com/KBNLresearch/iromlab/commit/c2ab187fa2ed2513e5bdef0b0cce5933b899b932#diff-2eeaed663bd0d25b7e608891384b7298
But this has the unwanted side-effect that for each subprocess that is started using
sub.Popen
a console window pops up.Might need to change Popen calls, see here:
http://stackoverflow.com/questions/1813872/running-a-process-in-pythonw-with-popen-without-a-console
Update to the above: adding
shell=True
to Popen call seems to do the trick: