same-tbh icon indicating copy to clipboard operation
same-tbh copied to clipboard

cd does not execute

Open irapha opened this issue 9 years ago • 2 comments

$ tbh 
tbh (recording) $ ls
README.md   same        tbh
tbh (recording) $ cd ..
tbh (recording) $ ls
README.md   same        tbh

irapha avatar Apr 07 '16 13:04 irapha

since everything is occurring in a subprocess that won't work, you may need to fudge and have os.chdir execute in those cases, although IDK if that'll even work generally.

Or you can have all of the commands execute in the same subprocess.

joshuamorton avatar Apr 08 '16 03:04 joshuamorton

Yeah. I think we will need to create a sub process that will last for the entire recording/execution session. Right now, I'm just making os.system(command) calls

irapha avatar Apr 08 '16 11:04 irapha