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 › UNIXProcess / Open() Argument Syntax
Page Index Toggle Pages: 1
UNIXProcess / Open() Argument Syntax (Read 389 times)
UNIXProcess / Open() Argument Syntax
Mar 16th, 2007, 7:27pm
 
I've been trying to pipe out an XML file of the signal strength of area networks, but every time I add a space, I get an error. I've separated everything out but it still won't work. How do I properly set this up?

void setup(){
  open(new String[] {"airport", "-s", "-x", ">>", "/documents/her.xml"});
}
void draw(){
}
I'm using OS X by the way, and i've set up the airport utility on a shortcut.
Page Index Toggle Pages: 1