Open adamwong246 opened 4 years ago
Given the scope of this project, unfortunately, there's not nice way to run a script of commands.
The command parser does support the &&
operator to chain commands, like echo "a" && echo "b"
.
Here's how I would approach this problem:
emulator.execute
, do your own parsing of commandStr
to check if it should be run as a series of commands&&
then call emulator.execute
Hope that helps!
Whats the best way to run a series of commands a la a shell script?