need help running bash

Archives Forums/MacOS X Discussion/need help running bash

skidracer(Posted 2007) [#1]
Print "bash help"
system_ "/bin/bash --help"
Print "running bash"
system_ "/bin/bash"
Print "done"

ideally I want it to open in a specified directory, failing that a method of running the MacOS terminal application would be better perhaps...

at the moment you type commands in (maxide output window) and it just acts plain stupid


Brucey(Posted 2007) [#2]
For some reason, adding a space after a command makes it work (depending on the command).
For example:
pwd
/bin/bash: line 8: pwd: command not found
pwd 
/Applications/BlitzMax/tmp

...where the second "pwd" had a space after it.

Looks like a problem with the IDE output window (pipes?), as it works properly when you run it from the terminal.