This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Program cgystart does not recognize .pl file type; gets mime type incorrect
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 09 Mar 2010 21:34:43 +0000
- Subject: Re: Program cgystart does not recognize .pl file type; gets mime type incorrect
- References: <4B95AA76.4090007@columbus.rr.com>
On 09/03/2010 01:55, Paul McFerrin wrote:
> I ran into my first real problem with "cygstart". When I execute
> cygstart with the argument:
> sendemail.pl
>
> The browser window has the source-code being displayed.
Cygstart uses your windows file associations to launch the standard OS
action; it does the same thing as if you double-clicked on the file in
explorer. So I guess that's how you've told explorer to handle .pl files.
Why would you want to use 'cygstart' to launch perl anyway? What were you
expecting it to do that's any different from just running "./sendmail.pl" at
the command-line? You use a shell to launch stuff under cygwin, not cygstart;
that's just for interacting with windows.
cheers,
DaveK
--
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