SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Java Script

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Java Script
Author Message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Java Script Reply with quote
Hello,

Is there a JavaScript equivalent to the JAL ProcessGetExitCode function?

Thanks,

John
Fri Oct 03, 2014 12:02 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
I'm afraid there is no direct method. But indirectly, you can use a wrapper batch file to write exit code to a file, and then the JavaScript job read it from the file. Here is example batch file for the job

@echo off
set errorlevel=
MyApp1.exe
echo %errorlevel% > status.txt
Fri Oct 03, 2014 1:09 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.