public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Wm. David Bentlage" <slomium+cygwin@gmail.com>
To: cygwin@cygwin.com
Subject: cygstart, mailto: URLs, and launching an executable
Date: Tue, 19 Apr 2011 22:44:00 -0000	[thread overview]
Message-ID: <BANLkTim-rmQ1=Sot6LkRHJd4Pbo08OEyxw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimf=TW2b=XJf2AUAWZ-_BLOJi+r+w@mail.gmail.com>

Hi,

What's the reason for the following change in cygstart between cygwin
1.5 and 1.7?  Can the cygwin 1.5 behavior be restored?


ai016aadm01@app-stl-33 ~
$ uname -a
CYGWIN_NT-5.2 app-stl-33 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin

ai016aadm01@app-stl-33 ~
$ cygstart -v mailto:
ShellExecute(NULL, "(null)", "mailto:", "(null)", "(null)", 1)

ai016aadm01@app-stl-33 ~
$ cygstart -v bash
ShellExecute(NULL, "(null)", "bash", "(null)", "(null)", 1)



ai016aadm01@app-stl-33 ~
$ uname -a
CYGWIN_NT-5.2 app-stl-33 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

ai016aadm01@app-stl-33 ~
$ cygstart -v mailto:
ShellExecute(NULL, "(null)", "W:\home\m278638\mailto", "(null)", "(null)", 1)
Unable to start 'W:\home\m278638\mailto': The specified file was not found.

ai016aadm01@app-stl-33 ~
$ cygstart -v bash
ShellExecute(NULL, "(null)", "W:\home\m278638\bash", "(null)", "(null)", 1)
Unable to start 'W:\home\m278638\bash': The specified file was not found.


Under cygwin 1.5, I could open a new email in the default application
using "cygstart mailto:".  Under cygwin 1.7, I get an error.
Performing "cygstart mailto://" will get cygwin 1.7 cygstart to
recognize mailto: as a URL instead of a file, but that's not proper
mailto: URL syntax.

Under cygwin 1.5, a new bash window is launched (per the man page).
Under cygwin 1.7, I get an error.  I can open bash in cygwin 1.7 if I
specify the full path to the bash executable.

Thanks,
Dave B.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

       reply	other threads:[~2011-04-19 20:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTimf=TW2b=XJf2AUAWZ-_BLOJi+r+w@mail.gmail.com>
2011-04-19 22:44 ` Wm. David Bentlage [this message]
2011-04-20  1:11   ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTim-rmQ1=Sot6LkRHJd4Pbo08OEyxw@mail.gmail.com' \
    --to=slomium+cygwin@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).