It's possible to execute apps in other servers and O.S?
I have a client thats has PPM on a non Windows environment but needs to create a PDF with data of PPM, so I'm thinking of dooing some programming with .Net and send a mail with the attach. But I have doubts if a PPM execution will be able to run a command prompt app on other server and operating system.
It is possible? If yes what considerations I should have?
Re: It's possible to execute apps in other servers and O.S?
You will use one of the ksc_connect_xxx commands to connect to the Windows server. You will specify the id and password used to connect to the server in an environment definition. The id used to connect will need execute access to the commands to be executed.
When you connect in this way, you are connected to a Unix emulator and Unix syntax can be used. The commands that are executed, though, may understand only Windows syntax and conventions. For instance, a parameter that specifies a file may need to be in Windows format. Cygwin can translate a Unix style path to the Windows style with something like this:
WPATH="$(cygpath -a -w [DEST_ENV.ENV.CLIENT_BASE_PATH]/[P.P_SUB_PATH]/[P.P_FILENAME])"
Sometimes it is useful to initiate a Windows script with the cscript.exe command. We have used this to execute vbs scripts.