We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › start a sketch in command line
Page Index Toggle Pages: 1
start a sketch in command line (Read 339 times)
start a sketch in command line
Dec 2nd, 2008, 11:32am
 
Hi guys,

is it possible to start a sketch / application in the command line. For example i do this in my command line

c:\processing.exe c:\sketches\myapp.pde

processing will be opened with the sketch in programming mode, but i want to run the application. Is there a parameter like "/run" or something else?

thx
Re: start a sketch in command line
Reply #1 - Dec 2nd, 2008, 12:04pm
 
have you tried "File -> Export application"?

you get a Linux/MacOS/Windows application which runns your sketch...
Re: start a sketch in command line
Reply #2 - Dec 2nd, 2008, 12:24pm
 
yes i tried it, i get the error

could not find the main class. Program will exit.

Re: start a sketch in command line
Reply #3 - Dec 2nd, 2008, 12:41pm
 
"Could not find the main class" thread might be related...
Page Index Toggle Pages: 1