Hi,

Issue reproduced on two systems:
System 1:
Operating System:  Windows 7 Ultimate x64 Service Pack 1
REXX-ooRexx Version:  REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
Dell Precision T7500; Dual Intel X5650 (24 cores); 48GB RAM
System 2:
Operating System:  Windows 7 Ultimate x64 Service Pack 1
REXX-ooRexx Version:  REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
Dell Precision 390; Single Q6700 (4 cores); 8GB RAM

I wrote a StartUp.rex program (run by the Windows Task Scheduler at login)
to start various programs for me.  As the Windows Task Scheduler runs my
StartUp.rex program, it start everything with administration privileges
(without having to manually respond the ACL message).  The ACL message only
appear once the login process is complete.

As part of my StartUp.rex program, I have it start several command prompts
(CMD.EXE).  This way I have several command prompts with administration
privileges available.  During this process I discovered a problem I don't
know how to resolve and only occurs when using ooRexx.

Instead of going into the details of the StartUp.rex program, I have been
able to reduce the details to a few simple instructions.  Hopefully, this
will help everyone find a solution without too many red herrings.  Details
/ Steps:


   - Start a command prompt (cmd.exe) with admin privilege.
   - Start the command "rexxtry"
   - At the rexxtry prompt issue the command:

'start "Command Prompt" /D "%HOMEDRIVE%%HOMEPATH%"
"C:\Windows\system32\cmd.exe" /K "c:\autoexec.bat & cmd.exe & cmd.exe"'
OR simpler:
start "Command Prompt" /D "%HOMEDRIVE%%HOMEPATH%"'

   - Go to the newly opened Command Prompt and issue the command "dir \
   /s"  wait a few seconds and use the CTRL+C keystrokes.  What happens on my
   systems is nothing.  The dir command continues.  Only the CTRL+Break ends
   the dir command.  In the case of the ping command with -t, nothing but
   killing the command ends it, as CTRL+Break gives intermediary results
   (doesn't end the ping command).

NOTE:  Doing the same start command(s), using a BAT file OR from the
command line directly results in the CTRL+C keystroke working properly.

Regards,

Bertram Moshier
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to