FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1158 : open() doesn't support relative paths
Last modified: 2009-02-12 07:48
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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.