Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew Markebo Subject: Re: cygstart, mutt or mailcap? Date: Sun, 23 Feb 2003 21:45:46 +0100 Lines: 30 Message-ID: References: <3E591A44 DOT 2000603 AT mscha DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Cancel-Lock: sha1:aXQ4Z+5JkJ+INGD/4E8O+IdNtYQ= |> 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? Saw a suggestion doing Application/MSWORD; cp %s /tmp/blah.doc && cygstart /tmp/blah.doc; copiousoutput; if they go this way, it (blah.doc) will probably not be deleted by Mutt, who only knows of %s? What happens if you do Application/MSWORD; cp %s c:/cygwin/tmp/blah.doc && cygstart c:/cygwin/tmp/blah.doc; (removed the copiousoutput word, what does that mean?) /Andy -- The eye of the beholder rests on the beauty! -- 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/