* (all files)
* stripped svn header
* minor cleanups
; use following command to find out the history of files:
git log
git log --follow
git blame
git annotate
27 lines
454 B
Plaintext
27 lines
454 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>
|
|
// www - http://harbour-project.org
|
|
//
|
|
// 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
|