Message174930
I've tested confstr("CS_PATH") on Linux, Mac OS X, Solaris, HP-UX and BSD. It works and the path to `sh` is always included.
Taras:
You don't have to perform the platform inside the get_shell() function. I suggest that you define the function depending on the value of `name`.
if name == "posix":
def get_shell():
...
elif name in {"nt", "ce"}:
def get_shell():
... |
|
Date |
User |
Action |
Args |
2012-11-05 19:16:37 | christian.heimes | set | recipients:
+ christian.heimes, gregory.p.smith, pitrou, tim.golden, ezio.melotti, eric.araujo, r.david.murray, asvetlov, chris.jerdonek, neologix, lyapun |
2012-11-05 19:16:37 | christian.heimes | set | messageid: <1352142997.24.0.670521460539.issue16353@psf.upfronthosting.co.za> |
2012-11-05 19:16:37 | christian.heimes | link | issue16353 messages |
2012-11-05 19:16:37 | christian.heimes | create | |
|