Hi, Viktor mentioned to me that I might have some luck with HB_SETENV to set ENV vars for child processes, though it would set the ENV's for the current process too. I was wondering if a new HB_ Harbour function could be made to do it for child processes, much like how Blinker's SWPSETENV() / SWPSETENVBAS() commands do ( http://www.ousob.com/ng/blinker/ng5ade2.php ). Since this might not be easy to do... perhaps an optional arg added to the HB_RUN command that allows some way to pass it ENV vars? Maybe that is too sloppy, I don't know.
Thanks in advance for reading. PS: If anyone is curious, we are trying to change the PROMPT= when our main .PRG file calls "cmd.exe" to shell out in Windows to display anything we want, making it obvious to users that they are currently in a SHELL. -- smu johnson <smujohn...@gmail.com>
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour