Starting sketch from WiFly command mode

Is there a way to start a sketch from the command mode in WiFly? Sometimes the sketch does not start, but I’m still able to telnet to the WiFly and get into command mode.