run fix for processing > 2.0b4 #3

Closed
LFSaw opened this Issue Mar 18, 2013 · 1 comment

Projects

None yet

2 participants

@LFSaw
LFSaw commented Mar 18, 2013

Processing now has a new method to run code (via a commandline interface).
Took me some time to understand how to set this up in textmate but here it is:

#!/usr/bin/env ruby -wKU
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
command = ["processing-java", "--sketch=#{ENV['TM_PROJECT_DIRECTORY']}", "--output=/tmp/processing_output", "--run", "--force"]
TextMate::Executor.run(command)
@PowerLlama

I tried replacing the Processing bundle text with this and it didn't seem to work.

@infininight infininight added a commit that closed this issue Sep 16, 2013
@infininight infininight Support 2.0+ of Processing for Run command
Thanks to @LFSaw, fixes #3.
5fde184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment