diff options
author | dluyer <53582923+dluyer@users.noreply.github.com> | 2020-01-14 08:10:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 08:10:58 -0800 |
commit | 4228cde2fd26f321fba4aec9205537d9d1614817 (patch) | |
tree | cc8c7b53bdb27a528fc0e05dd280f93e0253ff6b | |
parent | 3412f4d50b35b0e7b2cc382ab05e63f16bb2e02d (diff) | |
download | pexpect-git-4228cde2fd26f321fba4aec9205537d9d1614817.tar.gz |
Undo incorrect formatting update
-rw-r--r-- | pexpect/run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/run.py b/pexpect/run.py index af73137..ff288a1 100644 --- a/pexpect/run.py +++ b/pexpect/run.py @@ -49,7 +49,7 @@ def run(command, timeout=30, withexitstatus=False, events=None, (command_output, exitstatus) = run('ls -l /bin', withexitstatus=1) The following will run SSH and execute 'ls -l' on the remote machine. The - password 'secret' will be sent if the '(?i)password' pattern is ever seen: + password 'secret' will be sent if the '(?i)password' pattern is ever seen:: run("ssh username@machine.example.com 'ls -l'", events={'(?i)password':'secret\\n'}) |