Bug in rpyc.classic.connect_subproc

1 view
Skip to first unread message

Aviv Ben-Yosef

unread,
Nov 11, 2009, 11:29:08 AM11/11/09
to rpyc
Hello,

I've been trying to use the rpyc.classic.connect_subproc function, and
found out that it passes Popen the string 'python' as the executable.
The problem is that on machines where 'python' is not the name of the
python executable, or isn't the executable that was used to execute
the code in the first place, it won't work.

This should be changed to sys.executable instead (I can send in the
patch if needed).

Thanks,

Aviv

Alex Grönholm

unread,
Nov 11, 2009, 12:40:22 PM11/11/09
to rp...@googlegroups.com
Aviv Ben-Yosef kirjoitti:
Thanks, I've patched my branch now.
Reply all
Reply to author
Forward
0 new messages