| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <3E5935F2.8030004@mscha.org> |
| Date: | Sun, 23 Feb 2003 21:58:26 +0100 |
| From: | Michael Schaap <cygwin AT mscha DOT org> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 |
| X-Accept-Language: | en-us, en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| CC: | Andrew Markebo <andrew DOT markebo AT telia DOT com> |
| Subject: | Re: cygstart, mutt or mailcap? |
| References: | <3E591A44 DOT 2000603 AT mscha DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0302231440520 DOT 16682-100000 AT slinky DOT cs DOT nyu DOT edu> <m3wujqybd1 DOT fsf AT telia DOT com> |
| In-Reply-To: | <m3wujqybd1.fsf@telia.com> |
| X-Virus-Scanned: | at mscha.org by amavisd-milter (http://amavis.org/) |
On 23-Feb-2003 21:45, Andrew Markebo wrote: > |> Wild guess: > |> 1. Mutt saves the file to /tmp/something.doc > |> 2. Mutt runs "cygstart /tmp/something.doc" > |> 3. Cygstart starts Word (if necessary) and tells it to load the doc, > |> and exits immediately. > |> 4. Since Cygstart has exited, Mutt deletes /tmp/something.doc > |> 5. Word is still loading the file and gets in trouble > > Wild guess 2 (sorry if I have missed this thought before) > > /tmp/something.doc gets sent to cygstart... points to > c:\cygwin\tmp\something.doc, who opens word with "/tmp/something.doc", > who looks for c:\tmp\something.doc? Nope: cygstart is Posix-path-aware, so will translate /tmp/something.doc to (usually) c:\tmp\something.doc internally. - Michael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |