I am trying to automate Oracle Virtual Box with Perl. Inside Perl Script I have given some commands to turn on and turn off virtual machine. The program runs fine when executed from command prompt (sitting on the same machine), but when this script is fired from Telnet (Windows Host), the vboxmanage.exe (utility to manage VM's) throws exception. It seems this utility doesnot work over telnet, though this is purely a command line utility (no GUI).
I want to check if there is any way i can execute command inside my perl script, so that it should feel if that is being executed on command prompt only.