delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/13/02:50:10

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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Running OpenOffice from in cygwin.
References: <20070513063545 DOT GB1264 AT SALTERDUKE2>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019