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 & HelpIntegration › Processing Sketch run in cmd
Page Index Toggle Pages: 1
Processing Sketch run in cmd (Read 2322 times)
Processing Sketch run in cmd
Aug 18th, 2009, 4:45pm
 
First of all, excuse me if this post is in the wrong category, I just didn't know where to put it. Here goes.

I'm creating a server application using processing, but I want it to run on a linux server. Problem is I want it to be run using the command line. I've been lurking around the internet and the forums but can't find anything that really explains how this can be done.

Any help would be appreciated!
Re: Processing Sketch run in cmd
Reply #1 - Sep 16th, 2009, 8:34pm
 
BUMP

I'm very interested in using the command line as well, especially running sketches w/o the IDE.
Re: Processing Sketch run in cmd
Reply #2 - Sep 17th, 2009, 2:19am
 
Running a sketch from the command line is easy, just do "Export Application" from the "File" menu, and check the "Platform: Linux" option.

Let's say your sketchbook is in your Home Folder, and your sketch is called "mySketch".

Go to the comand line and do:
~/sketchbook/mySketch/application.linux/mySketch
Re: Processing Sketch run in cmd
Reply #3 - Sep 28th, 2009, 11:50am
 
Ok, I'm sorry for not being clear enough in my first post.
What I was trying to say was, is there a way to run the sketch in command line. i.e. I can pass commands/arguments and/or data using the command line.
Like starting up a sketch in the command line, then typing in commands etc for the sketch to be processed?
sorry for any further inconvenience.
Page Index Toggle Pages: 1