You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced.
I went though a few of the spawn classes and the logfile argument is actually not used.
I am unsure what this argument should be. I think allowing passing on a object would not be easy.
Would it be acceptable to just pass on the name of the file? Then it can just update os.environ['WEXPECT_LOGGER_FILENAME'] and respawn the logger and then it should be good.
Describe the bug
It seems that logfile parameter in wexpect.host.SpawnPipe does not work
To Reproduce
Expected behavior
command output should be written to logfile
open the file after running script only to get a blank logfile
Environment:
The text was updated successfully, but these errors were encountered: