You can't. #### Output = Your.OperatingSystem.Shell[0].RunThisCommand( 'perl program.pl' ).Output;