Hey guys!
So I'm working on a project right now. Part of it requires that I make an install wizard for the Dlang compiler called DMD. I was really just hoping to use LiveCode's shell() command to script the install process without the user seeing any command windows open or anything. The problem is, when I enter one command, it runs, gets the return value, and then closes the instance. How can I retain that instance so that when I run another shell() command (for feeding the installer with config options) it is just send to the installer and doesnt create a whole new process.
I've seen a couple posts about this, so I know I'm not the first to ask. But I'm wondering if anything has changed. I can't just concatenate the commands since installation is an asynchronous process and I must wait for the callback before I can continue with the next command.
Thanks in advance!
EssoAir
Maintaining a single shell() instance across multiple calls?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller