handle script error on virtual machine
-
I want to get exception when I am running a script on virtual machine. I use VIX API and RunScriptInGuest... because I need wscript.exe and if I have an error on myScript.vbs I can't handle the error because I am not receving any error because wscript.exe runs correctly. vm.RunScriptInGuest("c:\perl\wscript.exe", script_path, 0, Nothing, Nothing) Thank you very much
-
I want to get exception when I am running a script on virtual machine. I use VIX API and RunScriptInGuest... because I need wscript.exe and if I have an error on myScript.vbs I can't handle the error because I am not receving any error because wscript.exe runs correctly. vm.RunScriptInGuest("c:\perl\wscript.exe", script_path, 0, Nothing, Nothing) Thank you very much
-
Does this have something to do with C#?
One of these days I'm going to think of a really clever signature.
-
I want to get exception when I am running a script on virtual machine. I use VIX API and RunScriptInGuest... because I need wscript.exe and if I have an error on myScript.vbs I can't handle the error because I am not receving any error because wscript.exe runs correctly. vm.RunScriptInGuest("c:\perl\wscript.exe", script_path, 0, Nothing, Nothing) Thank you very much
belea17 wrote:
I want to get exception when I am running a script on virtual machine. I use VIX API and RunScriptInGuest...
because I need wscript.exe and if I have an error on myScript.vbs I can't handle the error because I am not receving any error because wscript.exe runs correctly.
vm.RunScriptInGuest("c:\perl\wscript.exe", script_path, 0, Nothing, Nothing)You want to get an exception "where"? From "what"? Why? Trying to see if you're in a VM?
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]