For automation purposes, I need to know when the deployment of a package is finished.

This is the command I use in a batch script/cmd :

start "Nalwin" "C:\Program files\novell\zenworks\nalwin.exe" : /A=MyApplicationJob.App.XP.Install.Nal.Zen.COMP
I just need a way to know when the package is finished to deploy. Monitoring the process "nalwin.exe" is not really an option because there can be other nalwin processes in the background.
Another way would be to make nalwin run in foreground in the cmd, but I did not found any option for that.