Swat Introduction: 5.1 Essential Commands: Cycle of Development

Up: GEOS SDK TechDocs | Up | Prev: 5 Essential Commands | Next: 5.2 Attaching and Detaching
send, run, exit, patient-default

These commands come in handy whenever you've edited and recompiled your application. You'll want to exit the application on the target machine. Use the send command to send down the new, compiled version of your application. Then use the run command to start up the program.

send

send [<geode-name>]

To send the latest compiled version of your program, type "send" followed by the application's patient name (the first part of the field on the "name" line of the .gp file).

run

run [<geode-name>]

To run your geode on the target machine, type "run" followed by the application's patient name (the first part of the field on the "name" line of the .gp file).

exit

exit <geode-name>

To exit a running application, type "exit" followed by the application's patient name. The exit command won't work if your application has encountered a fatal error.

patient-default

patient-default [<geode-name>]

Use this command to set a default patient to use with the send and run commands. The send and run commands will operate on this patient if they are not passed arguments.


Up: GEOS SDK TechDocs | Up | Prev: 5 Essential Commands | Next: 5.2 Attaching and Detaching