realbasic-nug
[Top] [All Lists]

Re: Shell class- which shell?

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Shell class- which shell?
From: Josh <joshua at fuckmicrosoft dot com>
Date: Fri, 01 Oct 2004 00:36:31 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <45AC17FB-1224-11D9-9214-003065A85F80 at cox dot net> <70E3018D-12EA-11D9-989D-0003931D7A4A at ljug dot com> <4676F9EE-12EB-11D9-BAFB-003065A85F80 at cox dot net>
On Thu, 30 Sep 2004 07:16:09 -0700, David Austin <daustin777 at cox dot net> wrote:


On Sep 30, 2004, at 7:10 AM, Brady Duga wrote:


On Sep 29, 2004, at 7:31 AM, David Austin wrote:

Which shell does RB use with the shell class. Is it based on which shell I have setup on my system or does it use a specific shell no matter what?

I would assume it's /bin/sh. On current versions of OS X, that is really bash. On older versions it was tcsh.

Hmm, I'm running Panther and it's running tcsh. I don't think I've ever changed it from the default. I'll have to check what is running at the office.


Even though tcsh is the default OS X interactive shell, and it is my
interactive shell of choice on a few OSs,  I certainly hope Shell
uses /bin/sh.

I don't have a Mac here to test on, but something like this should
show you.

  dim sh as new shell
  sh.execute("echo $SHELL")
  msgbox(sh.readAll)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>