* /harbour/* -> /*
* moved whole Harbour source tree one level up to
avoid single 'harbour' top dir
30 lines
469 B
Plaintext
30 lines
469 B
Plaintext
//NOTEST // It is very frustrating if this one is auto-tested
|
|
/*
|
|
* $Id$
|
|
*/
|
|
|
|
//
|
|
// 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
|