* *
% remove brandings and homepage from copyright header. Pass 2 - semi-auto.
* project homepage and name is described in README, amongst others
; this should make the diff between 3.4 and 3.2 easier to manage
26 lines
418 B
Plaintext
26 lines
418 B
Plaintext
//NOTEST // It is very frustrating if this one is auto-tested
|
|
|
|
//
|
|
// This program shells to OS
|
|
//
|
|
// Written by Eddie Runia <eddie@runia.com>
|
|
//
|
|
// Placed in the public domain
|
|
//
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL cShell
|
|
|
|
#if defined( __PLATFORM__UNIX )
|
|
cShell := GetEnv( "SHELL" )
|
|
#else
|
|
cShell := GetEnv( "COMSPEC" )
|
|
#endif
|
|
|
|
? "About to shell to OS.."
|
|
! ( cShell )
|
|
? "Hey, I am back !"
|
|
|
|
RETURN
|