0

I need something like:

b = bash.run() 
while True:
  out1 = b.send_command("ls -l")
  out2 = b.send_command("cd ..") 
  out3 = b.send_command("ls -l") #should show the parent folder

It is important that the bash still lives between calls

0 Answers0