Oops. You're right. My bad.
Thank you.
-T
On Sun, Jan 20, 2013 at 8:48 PM, Sharon Lucas <luc...@us.ibm.com> wrote:
> The RC you are getting back is 0 (indicating that the process was
> started). The result you are getting back is 13. This is the STAF handle
> number of the process that was started. A PROCESS START request without
> the WAIT option starts the process and immediately returns with the handle
> of the process that was started without waiting for the process to
> complete. So, it is working as documented. See section "8.13 Process
> Service" in the STAF User's Guide at
> http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV for more
> information.
>
> Note: If you wanted to run this process and wait for it to complete, you
> should use the <process> element to run the process, not a <stafcmd>.
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin, luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From: Tennis Smith <tennis_sm...@yahoo.com>
> To: staf-users@lists.sourceforge.net,
> Date: 01/20/2013 10:12 PM
> Subject: [staf-users] Getting RC=13 on stax Python Command
> Invocation
> ------------------------------
>
>
>
> Hi,
>
> I am calling this command inside a stax/Jython script:
>
> <script>
> ...
> theCmd = 'START SHELL COMMAND
> "c:/N4/TEST_Apps/tomcat/bin/dev-tomcat.bat"'
> ...
> </script>
> <stafcmd
> name="'Start APEX'">
> <location>'local'</location>
> <service>'PROCESS'</service>
> <request>theCmd</request>
> </stafcmd>
>
>
> The script (dev-tomcat.bat) never starts, and the error in the log is:
>
> Startup APEX by calling 'staf local PROCESS START SHELL COMMAND
> "c:/N4/TEST_Apps/tomcat/bin/dev-tomcat.bat" '
> APEX RC=0 Result=13 ResultString=13
>
> The error code #13 pertains to a missing variable, which doesn't make
> sense. Any ideas?
>
>
> Version info:
> > staf local stax version
> Response
> --------
> 3.5.4
>
> > staf local stax version jython
> Response
> --------
> 2.5.2-staf-v1
>
>
> --
> Tks,
> -Tennis
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
--
Tks,
-Tennis
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users