| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Shell class- which shell? |
| From: | Tim Jones <tjmac at tolisgroup dot com> |
| Date: | Thu, 30 Sep 2004 08:43:17 -0700 |
| 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> <opse49i5gc37yk8p at mail dot fuckmicrosoft dot com> <54DADF3E-12F1-11D9-989D-0003931D7A4A at ljug dot com> |
On Sep 30, 2004, at 7:59 AM, Brady Duga wrote: It appears that it uses whatever you have you user shell set as. Put this in a Window Open even with a StaticText1 on the Window:Ack. Well, it doesn't look like it does. I have bash as my default shell, and that is what it appears to use (the bash at /bin/bash, not the bash at /bin/sh). For safeties sake, it may be best to execute "/bin/sh" first.
Dim sh As New Shell
sh.Mode = 0
sh.Execute "env | grep SHELL"
App.DoEvents ' tee hee hee
StaticText1.Text = sh.Result
and you can find out for yourself.
Brady's comment might be a good one if you expect a particular shell
language.
Tim -- Tim Jones tjmac at tolisgroup dot com _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Serial Control: 115200 bit/s on Mac OS 8 and 9 ?, Aaron Ballman |
|---|---|
| Next by Date: | Drag and drop problems..., Jason Quigley |
| Previous by Thread: | Re: Shell class- which shell?, Brady Duga |
| Next by Thread: | Re: Shell class- which shell?, Dustin Evermore |
| Indexes: | [Date] [Thread] [Top] [All Lists] |