1. Are you sure the new console has focus?  Note that even when you 
specify FOCUS BACKGROUND, it will still be visible on your desktop, but it 
should not have focus.  I tried a similar request, and the new console is 
visible but it does not have the desktop focus.

2.  You can use the short name for the directory, such as C:\DOCUME~1, or 
include double quotes around the path:  \"C:\Documents and Settings\"

David Bender
STAF/STAX Development
8-1268 (512-838-1268) 
IBM Austin Bldg. 903-5B002
Internet: [EMAIL PROTECTED]




"Mohammad Jamal" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/24/2008 02:38 AM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] [STAF-USER]: Problem in LIFECYCLE service






Hi,

I have registered a process to start at the time of starting STAF. I
did this registration with the help of LIFECYCLE service and command
used is:

<Snip>

C:\>staf local lifecycle register phase startup machine local service
process request start shell command "java -jar
c:\AutomatedTestSystem.jar" newconsole focus background
Response
--------
1

<End>

Problem:

1. The process is register successfully. But when I start STAF, a new
console is started in foreground. Why it is not started in background,
If I have set it to start new console in background.

2. If the path "c:\AutomatedTestSystem.jar" contains spaces like
"C:\Documents and Settings\Shahid\Desktop\AutomatedTestSystem.jar",
then process could not be started at the time of starting STAF.

Please clarify my doubts.

With regards,
Mohammad Shahid Jamal

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to