Code: Select all
machine.LaunchVMProcess(null, "emergencystop", null);
"The machine [blah] is not locked by a session"
However if I try to establish a lock before i call it:
Code: Select all
machine.LockMachine(session, LockType.LockType_VM);
What is the correct usage of the emergencystop command? From the documentation it reads like it shouldnt need a lock, because the whole purpose is to terminate a machine that is in use/locked by another user. Am I missing something?
thx
Steve