[wpkg-users] [WPKGWrapper...]

Marco Gaiarin gaio at sv.lnf.it
Thu Mar 22 11:46:37 CET 2007

Mandi! Tomasz Chmielewski
  In chel di` si favelave...

> I don't see the code mentions "help" anywhere?

I pass the /help options untouched to the internal:



	var cmd = wpkg_js + " " + cmdl;


	var wpkg_js="cscript \\\\FILE\\wpkg\\wpkg.js";

and cmdl is the original commandline, so definitevly i call:

	shell.exec("cscript \\\\FILE\\wpkg\\wpkg.js /help");

and i get no output at all (but i got exit 0 status).

if i call instead:

	shell.exec("wscript \\\\FILE\\wpkg\\wpkg.js /help");

i got the 'windowed' help. Normally if i run directly:

	cscript \\\\FILE\\wpkg\\wpkg.js /help

i got the help on the cmd prompt window.

For that i say 'seems that my wrapper does not connect STDIO', because
cscript-executed script produce no output at all.

dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

wpkg-users mailing list
wpkg-users at lists.wpkg.org

More information about the wpkg-users mailing list