The Cross-Platform xBase.
3.4 Fork
This program uses GetEnv()
and the environment variable SHELL
/COMSPEC
to start a new shell.
$ hbrun osshell.prg About to shell to OS... $
To achieve similar effect on Linux, you can execute the command: run sh
To learn how to build/run this example, see this page.