Hi eveyone,
I need some help from you guys.
My problem is the following;
I would like to start an application in a virtual-box vm with a bash-script placed on my Ubuntu desktop, and i would like to suspend the continuation of the bash-script till I'm finished with that application .
The bash-script should continue the moment I stop the application in the vm.
Is this possible?
I have the following:
#!/usr/bin/env bash
VboxName="Windows 10 Enterprise LTSC"
VAppName="C:\\Windows\\System32\\calc.exe"
VBoxManage -nologo startvm "$VboxName"
VBoxManage -nologo guestcontrol "$VboxName" run --exe "$VAppName" --wait-stdout
Is it possible to start seamlessly?
How can I suspend the continuation of the bash-script till I'm finished with my work?
How can i force the vm going in suspending mode?
I'm new to Linux, and help will be much appreciated.
Rgds.
I need some help from you guys.
My problem is the following;
I would like to start an application in a virtual-box vm with a bash-script placed on my Ubuntu desktop, and i would like to suspend the continuation of the bash-script till I'm finished with that application .
The bash-script should continue the moment I stop the application in the vm.
Is this possible?
I have the following:
#!/usr/bin/env bash
VboxName="Windows 10 Enterprise LTSC"
VAppName="C:\\Windows\\System32\\calc.exe"
VBoxManage -nologo startvm "$VboxName"
VBoxManage -nologo guestcontrol "$VboxName" run --exe "$VAppName" --wait-stdout
Is it possible to start seamlessly?
How can I suspend the continuation of the bash-script till I'm finished with my work?
How can i force the vm going in suspending mode?
I'm new to Linux, and help will be much appreciated.
Rgds.