cygstart, mutt or mailcap?

Michael Schaap cygwin@mscha.org
Mon Feb 24 01:59:00 GMT 2003


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/



More information about the Cygwin mailing list