Shell
From REALbasicWiki
| This article is a stub. You can help the REALbasicWiki community by expanding it. |
| |||||
|---|---|---|---|---|---|
| Available on | | ||||
| General | |||||
| Superclass | Object | ||||
| Interfaces | |||||
| Constants | |||||
| Methods | |||||
| |||||
| Properties | |||||
| Events | |||||
| |||||
|
NOTE: You can get descriptions of the items above from the REALbasic documentation. | |||||
A shell object allows you to execute UNIX commands (on Mac OS X and Linux) or a DOS command (on Windows) and get the result back as a string.
With a shell you can execute some advanced command which are usually only accessible from a terminal window. The main drawback is that you will have to parse the result string and that such output may change with the different version of the UNIX/DOS commands.
[edit] A note on the GNU General Public License
To make a long story short, if your software uses some code released under the GNU General Public License (GPL), then you have to distribute your code along. There is an exception though: if you use such GPL code from the shell, you do not need to disclose your own code.
