Bug 1158 : open() doesn't support relative paths
Last modified: 2009-02-12 07:48




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
jester92
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-02-11 17:24
The reference says "the default location is the same folder as the Processing application itself,"
and gives an example:

open("Process_4.exe");

Yet when I type something like this, e.g.,

open("text.txt");

where text.txt is in the same folder as the .pde, it doesn't open. It works fine if I type the full
path ("/Users/blah/Desktop/sketchfolder/text.txt").

Processing 1.0.1, Mac OS 10.5.6, MBP
Additional Comment #1 From fry 2009-02-12 07:48
Nah, you should only be using absolute paths anyway. I'll update the reference.