PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Exec command not working for exe files.

edited Sep 12, 2019 5:01AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

I am trying to run an exe file using exec command from an app engine. This works perfectly when I execute the AE from app designer, but nothing happens when I execute this online via PIA.

My program looks like this:

1. bat file with the command to execute the exe (C:\test\INST\PTF\PsTestFw.exe)

2. App engine that calls this batch file via exec command.

     &strCmd = "C:\PTF_Test\test.bat";

     Exec(&strCmd, %Exec_Asynchronous + %FilePath_Absolute);

   

The above batch file works when its executed from app engine or from command prompt. I created a process in PIA with the same AE name, but nothing happens when I run it. The process runs to success though. I tried including 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center