Hi Sharon,

- I tried adding SAMECONSOLE, and it had no effect.
- I had no trouble running:
D:\>staf local process start shell command "svn help" wait
STDERRTOSTDOUT RETURNSTDOUT

However, when I stopped the STAF Services, and just ran STAFProc from
an Administrator command prompt, the check out worked.  So, your
suggestion that STAF was not running as admin was right.  I changed
the log on properties of the service, restarted, and the command now
works!

Thanks for the suggestion!
Daria

On Mon, Jul 27, 2009 at 2:40 PM, Sharon Lucas<luc...@us.ibm.com> wrote:
>
> No, we don't know of any issues with SP2 for Vista.
>
> Per the following note in the STAF User's Guide, try specifying the
> SAMECONSOLE option on your PROCESS START requset to see if that makes a
> difference.
>
> 1.        On Windows systems, if you are redirecting stdin/out/err and are
> not using SAMECONSOLE, it is recommended that you redirect all three
> input/output streams. If one or two streams are redirected, but not all
> three, the non-redirected streams will not be available to the application.
> For example, if stdout and stderr are redirected, but not stdin, then the
> application will receive errors if it tries to read from standard input. As
> another example, if stdin and stdout are redirected, but not stderr, then
> you will not see any of the standard error output displayed in the console
> window. This problem only occurs when using NEWCONSOLE, which is the
> default. You may freely redirect any combination of stdin, stdout, and
> stderr when using SAMECONSOLE. This problem is due to a known limitation in
> the Windows API.
>
> Is STAFProc being run as an Administrator on this Windows Vista machine?
>
> Can you run any other command via a STAF PROCESS START request via on this
> Windows machine, such as notepad ?
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin,   luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
> Daria Holden <dariahol...@gmail.com>
>
> 07/27/2009 03:23 PM
>
> To
> staf-users@lists.sourceforge.net
> cc
> Subject
> [staf-users] subversion checkout
>
>
>
>
> I have one machine where the command:
>
> d:\>staf local process start shell command "svn checkout <my
> server>/trunk/Test d:/whargarbl" wait STDERRTOSTDOUT RETURNSTDOUT
>
> does a successful checkout, and another machine where the same command
> starts an svn and a STAF process, but both just hang, using 0 CPU time
> even after a few minutes.
>
> Same machine hardware(dual xeon), architecture(x64) and OS (vista
> business) except the one that works has SP1, and the one that doesn't
> has SP2.  Both are running STAF 3.3.4.  Both have all firewalls turned
> off.  Both machines have trust level 5 set for themselves.  I have
> administrator privileges on both machines.
>
> On the machine that isn't returning from the staf call, I can make the
> same call directly on the command line( i.e. svn checkout
> <myserver>/trunk/Test d:/fbxrd) and it will work just fine.  So it's
> just when I wrap the command in a STAF process call that it isn't
> working.
>
> Do you know of any issues with SP2 for Vista?  Could there be a
> configuration option I missed somewhere?
>
> Thanks,
> Daria
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to