[wpkg-users] Forgot command, exit status 0?

Marco Gaiarin gaio at sv.lnf.it
Tue Mar 10 16:32:49 CET 2009


Mandi! Rainer Meier
  In chel di` si favelave...

> Try executing it on cmd.exe
> <install cmd='%COMSPEC% /c "%WPKGROOT%\tools\modpath /add %WINDIR%\ASYM\RUNTIME\"' />
> Then exit status should be non-zero if the command is not found.

But this is the WSH 'exec()' implementation or a peculiarity of
windows?
I'm a UNIX guy, but this seems to me totaly broken... ;)))


Generally speaking: would be feasable to run every
install/upgrade/remove line against cmd /c, to have better error
control?

-- 
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

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list