Opened 14 years ago

Last modified 14 years ago

#1462 closed defect (fixed)

OMEdit: Command-line fails to load files in relative path

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund, Adeel Asghar

Description

Works

trunk marsj@marsj-laptop:~/tmp
$ ../dev/trunk/build/bin/OMEdit /home/marsj/tmp/abc.mo &

Doesn't work

trunk marsj@marsj-laptop:~/tmp
$ ../dev/trunk/build/bin/OMEdit abc.mo &

Change History (2)

comment:1 by Adeel Asghar, 14 years ago

Works fine for me on windows.
You need to put your file into the directory /tmp/OMEdit/ since the omc working directory is set to this location.

comment:2 by Martin Sjölund, 14 years ago

No! That's what this bug is about.
You should not at all need to move the file (no POSIX tool I ever heard of needs this). OMEdit should resolve the absolute path before passing it to OMC.

Note: See TracTickets for help on using tickets.