X-Spam-Check-By: sourceware.org
Message-ID: <4646B50F.29EC2953@dessent.net>
Date: Sat, 12 May 2007 23:49:51 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Running OpenOffice from in cygwin.
References: <20070513063545.GB1264@SALTERDUKE2>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

