Marco Gaiarin schrieb: > For that i say 'seems that my wrapper does not connect STDIO', because > cscript-executed script produce no output at all.
Well, you could try to understand cryptic examples on MSDN: http://msdn2.microsoft.com/en-us/library/cbxxzwb5.aspx http://msdn2.microsoft.com/en-us/library/ye284tb8.aspx A short form here: var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.Exec("cscript wpkg.js /help"); output = "" while (!oExec.StdOut.AtEndOfStream) { output += oExec.StdOut.Read(1) } WScript.Echo(output) -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
