pexpect
Any substitutes for pexpect?
I am writing a script using python pexpect to execute another script on a remote machine. It works fine in normal cases, but if there is a time.sleep in the remote script, it fails.[详细]
2023-03-28 02:44 分类:问答Interfacing Python With Fortran through Command-Line Using Pexpect
I am using pexpect with python to create a program that allows a user to interact with a FORTRAN program through a website. From the FORTRAN program I am receive the error:[详细]
2023-03-23 09:54 分类:问答pexpect ssh not able to handle command options
am using pexpect ssh to write down a script for compilation, the ssh automation looks like this, enter code here[详细]
2023-03-23 00:21 分类:问答Python: Socket: Handling TCP connections over a cell network
I am doing some socket programming in python in which I develop a client TCP/IP socket to communicate with a slow embedded device. So sometimes, when the response is supposed to be only one package, i[详细]
2023-03-14 16:37 分类:问答What is an elegant way to abstract functions - not objects?
I have a function that logs into a sensor via telnet/pexp开发者_高级运维ect and acts as a data collector.[详细]
2023-03-05 07:55 分类:问答Skip stdin and stderr of child with pexpect
I\'m controlling a child process using pexpect (because subprocess doesn\'t support pty\'s and I run into a deadlock with two pipes). The process creates a lot of output on stderr, in which I\'m not i[详细]
2023-02-26 19:35 分类:问答pexpect sftp: source file as file object
Is it possible not to read the file to be transferred from the file system? I get files from a server and want sftp them to another. I\'d rather not write them to开发者_StackOverflow中文版 the file sy[详细]
2023-02-05 19:34 分类:问答question about pexpect in python
I tried both pexpect and subprocess.Popen from python to call an external long term background process (this process use socket to communicate with external applications), with following details.[详细]
2023-01-29 01:39 分类:问答redirecting output of pexpect to a file
I tried to capture the output of pexpect in a file. Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2[详细]
2023-01-29 00:05 分类:问答fabric vs pexpect
I\'ve stumbled upon pexpect and my impression is that it looks roughly similar to fabric. I\'ve tried to find some comparison, without success, so I\'m asking he开发者_StackOverflow社区re--in case som[详细]
2023-01-25 05:13 分类:问答