Thanks for the hint! I supposed, I need to set the
variables for the Shell created.

Your code seems to set environment variables for the app
itself and then propagates them to the forked process.
I wonder, if this might force (other) problems.

Well, hopefully not. I'll try. Thx!

Am 05.06.2006 um 23:46 schrieb Steve Garman:

Unfortunately, Shell doesn't seem to support the environment.
Any ideas?

This includes "aTest" on Windows.
Are you saying it doesn't work on OS X ?

  System.EnvironmentVariable("aTest")="This Is A Test"

  Dim sh as New Shell
  Dim cmd as String
  #If TargetWin32
    cmd = "set"
  #Else
    cmd = "env"
  #EndIf
  sh.Execute cmd
  MsgBox sh.Result

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to