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 Message-ID: <3E5935F2.8030004@mscha.org> Date: Sun, 23 Feb 2003 21:58:26 +0100 From: Michael Schaap 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 Subject: Re: cygstart, mutt or mailcap? References: <3E591A44 DOT 2000603 AT mscha DOT org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/