Wow. Thanks. :) Interactive mode is most welcome as well!
2012/8/10 Kelvin U.V <[email protected]>: > Hi William, > > I encountered the same problem as you. Then I digged into the source code of > the winpexpect. When you spawn the external command plink.exe. The > winpexpect will call the python.exe to run a stub script. Your command is > called by this stub script actually. When you freezed your application. The > executable will still try to find the python.exe. You will get complain if > the python.exe is not find in the path environment. > So this issue has nothing to do with the cx_freeze or plink.exe. > > I have forked the winpexpect project, modified some code to let it support > cx_freeze. In addition, some new features are added such as interactive > mode. You can download it from here: > https://bitbucket.org/weyou/winpexpect > > > > On Thu, May 31, 2012 at 9:28 PM, Thomas Kluyver <[email protected]> wrote: >> >> On 31 May 2012 14:17, William Söderberg <[email protected]> >> wrote: >> > I forgot to answer you regarding the paramiko suggestion. Paramiko was >> > the first thing I tried before resorting to winpexpect and plink. It >> > worked fine for scripting configuration to Juniper JunOS devices, but >> > it just died after logging into devices running Cisco IOS and Juniper >> > ScreenOS. >> >> I'd suggest digging into that problem, although I've no idea how to go >> about it. Using winpexpect to control an external ssh client is kind >> of an ugly workaround. >> >> 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 > > > > > -- > Best Regards > K.Y > > ------------------------------------------------------------------------------ > 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 > -- Med vänliga hälsningar / Kind regards, William ------------------------------------------------------------------------------ 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
