Let's say I have a C array of strings with TCC commands which I've
constructed dynamically within a plugin. I now want to run that code.
I could repeatedly call Command() but some TCC commands are only valid
in batch files (do ... enddo etc). So, is there a way to run a "batch
file" from a plugin if the batch is already in memory?
(I can easily save the stuff into a temp batch file, then call Command()
with that and delete the temp file afterwards. However, that seems not
very efficient; more importantly, it's not foolproof.)
--
cheers thomasl
web: http://thomaslauer.com/start
constructed dynamically within a plugin. I now want to run that code.
I could repeatedly call Command() but some TCC commands are only valid
in batch files (do ... enddo etc). So, is there a way to run a "batch
file" from a plugin if the batch is already in memory?
(I can easily save the stuff into a temp batch file, then call Command()
with that and delete the temp file afterwards. However, that seems not
very efficient; more importantly, it's not foolproof.)
--
cheers thomasl
web: http://thomaslauer.com/start