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.after, end='')
# run list directory command
child.sendline('ls')
# run dir command to list directory contents
child.sendline('dir')
# Waiting for prompt
child.expect('>')