The "WinExec" part of the name should be a clue to how portable this is.  This is just a simple stub to an existing Windows API  (and an old one, at that).

On 10/28/05, lee@safedatausa.com <lee@safedatausa.com > wrote:
Michael,
I was thinking of offering the same suggestion on comp.lang.rexx
(RxWinExec), but I wasn't fully sure what platform the OP was on and I
haven't been where I could determine if RxWinExec was available on OS/2
(if in fact that is what the OP is using).

Is RxWinExec available on OS/2?  If that is what the OP is using and it
is available, then it would surely answer their problem, since RxWinExec
can execute its program completely hidden.

Lee

-----Original Message-----
From: oorexx-devel-admin@lists.sourceforge.net
[mailto:oorexx-devel-admin@lists.sourceforge.net] On Behalf Of Michael
Lueck
Sent: Friday, October 28, 2005 8:02 AM
To: oorexx-devel@lists.sourceforge.net
Subject: [Oorexx-devel] RxWinExec - Two of them?


A while back Lee Peeding was asking about RxWinExec return codes in
comp.lang.rexx so I looked it up in RexxUtil.c. hhhmmm, only thing is
that thing cranks back all sorts of odd numbers now that I try the
function and I sure don't see that in the source code. What am I
missing... again!? (<rant>Blasted fancy stuff that can be done in
C!</rant>)

Thought to offer that function to the folks in comp.lang.rexx currently
looking to not see the command line being executed. It looks like it
will serve that purpose.

However I found it mangles slashes if you hand it "dir /s" to execute.
Looks like "dir \\s" is what actually is tried to be executed.

Anyway, trying to better understand this function before we write a Sys*
named function that starts programs cross platform, returns PID's, waits
for processes vs "forking" them, etc... Mainly the RC's was enough to
have me scratching my head, now slash mangling... oh fun!

TIA!

Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel