This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygstart, mutt or mailcap?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]