This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running OpenOffice from in cygwin.


Brian Salter-Duke wrote:

> d) Anywhere  - "swriter /tmp/ME3268/WSPC.doc" does not open and leaves no
> messages. It seems to not like a full path.

/tmp/anything is a POSIX path.  Only Cygwin apps can understand these
kind of paths, because they are a fiction invented by Cygwin.  You have
to give OO a win32 path, because it's a native Windows application, just
like any other non-Cygwin program.  See man cygpath, e.g. swriter
"$(cygpath -w /tmp/ME3268/WSPC.doc)".  The quotes are essential if the
path expands to something containing a space.  Having OO in the PATH is
unnecessary as well, you can just refer to it by its fully qualified
name, e.g. /path/to/swriter "$(cygpath -w /foo/bar/whatever)"

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]