View Single Post
  #5  
Old January 17th, 2007, 10:21 PM
Ygorl's Avatar

Ygorl Ygorl is offline
Captain
 
Join Date: Jun 2004
Location: Rhode Island
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts
Ygorl is on a distinguished road
Default Re: Command Line Switches - revisited

Remember, open expects its argument to be a file. If it's an executable file, I guess that's okay, but files don't usually take command-line arguments -- programs do.
You don't need open to run a program; you don't even want it to run a program, unless I'm missing something.
Reply With Quote