Run UNIX script from WINDOWS

Luc Lessard

New Member
PROGRESS 9.1C
WINDOWS 2000
HP-UX 9000
SAMBA

Hi All,

I'm trying to run a unix script that start a progress session
and run a program (keep running).
My progress session is started in batch mod.

Script:
/dlc/bin/mbpro -p /data/deamon/dev/stdevkwl.p
exit

This is the command that i use:
OS-COMMAND NO-WAIT VALUE("rsh hostname -l user name /data/deamon/dev/script.sh").
This work but i get the dos screen (don't want that).

I tried this:
OS-COMMAND SILENT VALUE("rsh hostname -l user name /data/deamon/dev/script.sh").
It start my progress session but it freeze (don't get back to my
screen till i stop the process on unix).

I tried this (not suppose to use no-wait with silent):
OS-COMMAND NO-WAIT SILENT VALUE("rsh hostname -l user name /data/deamon/dev/script.sh").
It doesn't start the process.

Any suggestion ?

TIA.
 

swilson

New Member
Buy appserver :) Makes headaches go away.

Seriously,
Try using shell32.dll to launch the rsh program instead of os-command. Some programs like shell32.dll better than os-command. Dunno why.

Look in progress KB to see example using shell32.dll

Scott
 
Top