Files
harbour-core/tests/osshell.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

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