Running Win32 Programs Through INTERIX (246429)
The information in this article applies to:
- Interix 2.2.1
- Interix 2.2.2
- Interix 2.2.3
- Interix 2.2.4
This article was previously published under Q246429 SUMMARY
The INTERIX POSIX subsystem can run Win32 programs. Many programs look for system information in the environment. Win32 programs will not "understand" pathnames in the POSIX format. If your shell scripts launch Win32 programs that look for information in the environment, you will have to make special allowance for those programs.
For example, suppose you have a Win32 compiler interface named Compile.exe that expects the environment variable LIB to contain the name of the directory that contains the library files. In the original Win32 shell script, compile was just invoked by typing:
compile $*
In the INTERIX version, you must convert the value of the LIB environment variable from a POSIX-style pathname to a Win32-style pathname before you can run the Compile.exe program. After running the command, you should reset the environment variable if you will then be calling INTERIX programs that examine its contents.
Modification Type: | Major | Last Reviewed: | 7/31/2001 |
---|
Keywords: | kbinfo KB246429 |
---|
|