Running SI Experiment via Terminal

From KubovyLab

Jump to: navigation, search

One way to view debugging output during an experiment run is to launch it from a terminal.

  1. Run the MacOS X Terminal application (available in your /Applications/Utilities folder).
  2. Go to the directory where application has been saved. For example, if it is on your desktop:
    cd Desktop/SensoryIntegrationExperiment
    If you type ls you should see the file Sensory Integration Experiment.app listed. That file is actually a directory (called an application bundle) containing all the components that make up the application.
  3. Go into the application bundle to the location where the main executable file lives:
    cd "Sensory Integration Experiment.app/Contents/MacOS"
    The quotes (") are required since the application bundle directory contains spaces.
  4. Launch the application:
    "./Sensory Integration Experiment"
    Again, the quotes are required because of the spaces. The prepending "dot slash" (./) tells the shell specifically that you wish to execute a file in the current directory (necessary because the current directory isn't in one's PATH variable by default).
Personal tools