Changed ls to dir

This commit is contained in:
Anand Phulwani 2023-08-20 22:28:40 +05:30 committed by Benedek Racz
parent 8f2342d4fd
commit 1b7dd177b7

View File

@ -15,8 +15,8 @@ child.expect('>')
print(child.before, end='') print(child.before, end='')
print(child.after, end='') print(child.after, end='')
# run list directory command # run dir command to list directory contents
child.sendline('ls') child.sendline('dir')
# Waiting for prompt # Waiting for prompt
child.expect('>') child.expect('>')