Hi Mark,

> I am adding a note to the read me to not install into Program Files.
> The framework needs to be able to write temporary files in its
> sub-directory structure and on Vista and later, typically that is not
> possible.

Ah, couple of things . .

1) What about other directory paths that have spaces in the path, though?
An example on MY system would be:  c:\users\Bertram G Moshier\

2) As for writing temporary files in the directory structure using Vista,
Windows 7, Windows 8, and Windows 8.1, my solution is simple:  I have two
types of command prompts on my desktop.  One runs with Admin Rights and the
other runs without any rights.

Thus far when I've run "ooTest" in the "Program Files" directory and when
running OTHER Rexx programs there, too, I haven't seen any problems with
R/W access to files or directories, when the command prompt running the
Rexx program has admin privileges / rights.

Of course maybe "ooTest" never ran far enough before dying to generate any
temporary files.  You'd have to tell me if it didn't get far enough.

As for the other Rexx programs, I know they were able to create, read, and
write / modify files in the "Program Files" structure without any
additional coding, as long as I started the Rexx program in a Command
Prompt with admin rights.  Up front I didn't try this with workers, though,
but with single threading.


> While that is not impossible to fix, in this case it truly is not
> worth the work involved.  At least for me.  Any one is
> welcome to fix it if they want.

Ah, is running the test suite (ooTest) in a command prompt (cmd.exe) with
admin rights the solution?  If not, where does it fail?

If it doesn't fail and is successful would updating the documentation
stating the need to run the test suite in a command prompt with admin
rights be the fix?

I suspect it fails given I suspect you already tied it given how simple it
is to try.  If it does fail, my guess is it fails in the workers started by
the main didn't inherit admin privileges, but I could be wrong, as I have
yet to try it and thus am only guessing.

Bert.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to