On 30 May 2012 15:44, William Söderberg <[email protected]> wrote: > winpexpect.winspawn('plink.exe')
cx_Freeze won't automatically include plink.exe, because that's a separate program. You can copy it manually into the build directory or specify include_files. I don't know if that will be sufficient for starting it with spawn - if it isn't, you'll need to find it with some code like this: http://cx_freeze.readthedocs.org/en/latest/overview.html#using-data-files Alternatively, have you looked at a library which could do SSH communication without a separate process? paramiko looks like it might fit the bill: http://www.lag.net/paramiko/ . If that's possible, it would make it much simpler to bundle up your code. Best wishes, Thomas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
