As per the subject, I am looking for a VM technology(ies) where I can write a script in the general OS that will be able to launch the VM and to specify that process X inside the VM should launch after the VM is loaded/launch. For example - pseudocode:
var x = new VM (location of VM)
when (x.isLaunched){
x.runStartingProcess = "c:\runwhenlaunched.vbs -input " + y
}
x.launch
-the pseudocode above would assume you had a variable y that changed due to some user input. That input was then passed to the starting process inside the VM.
I suppose this is probably doable with some sort of virtualization technology, please point me to which virtualization technology can be used for this, and if you know some example code anywhere to look at that would be good too.
Thanks!