X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA77B385DC0B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1587147490; bh=tlDrMd8cfCrxUjh0MmCnuoc01WWcVfLc+JZkmxeHLVc=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=CRjHyAOSkPWo+8MLXbs1SclOGFOScoO88OXByy5ZoN8zl6OTyHH1I9G+b4ZDTLWoq MJqOpu5oVR9fz56ZOx7SdCteJvkLZ+ZHUQvBuOy4OGGA+Yu4Vpmia/zn/1PAwvL9Hu 9POPjoiNYf3k/gPJuZVwVXecyUS3qPCbw+c8gyyE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E21E385B835 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T9nMKS0KAebAoS/gL4KB4tQoV0AfhVrpTDBXTcZxBcg=; b=qsQJ8WSTjCSXZoMAhBcvuwBJaaHJ4BcfcAGSZZrBEPMEa8bh2Lwg3GtLRCtU091SHD BNpWrOeO49c4kq/AdsOO5cFgyAq/dreH34ynEaRF7MCiuUJHC8OE0CT0WKYx6cyv7os0 l7wgQ6/nAsZOyoNeWUDvjRwbThiRW/PJy2CXYMNzFtZRLq/Df0uxz1+TXlvI24T02OQQ lqfsnM460nkwbV/E3K9gmA4DXRyW/orQOS60swHA6uezq6pH5KjUanl9qx322DHER7Nc YnJUE4q4MgWcRB8omcm4qV5MrTpQ+3yOuccgp/MMJSsoTygMIMds6rx7L85IalC6Iee+ ncyw== X-Gm-Message-State: AGi0PuYyPGXcU93hVaF+JSGZxUw5mEsw72a19gtDzsWX4Ned0luDELMN z771xZO3MvNb56VpTTlTPAp/qa6HJDBngdJFDPwBZJoB X-Google-Smtp-Source: APiQypIyvcdQBGsbG4ZpdwBqcT9bGJZNqNG3GLhQZmKhiIRqa01X9LbvDhKX9YI2ofcfTme3Wia7P289ueeHx+xv6WU= X-Received: by 2002:aca:5014:: with SMTP id e20mr3110262oib.71.1587147483408; Fri, 17 Apr 2020 11:18:03 -0700 (PDT) MIME-Version: 1.0 References: <80877666-85aa-0b3d-8efe-bd7e0294c030 AT cs DOT umass DOT edu> In-Reply-To: <80877666-85aa-0b3d-8efe-bd7e0294c030@cs.umass.edu> Date: Fri, 17 Apr 2020 13:17:51 -0500 Message-ID: Subject: Re: What is wrong with the name excel? To: moss AT cs DOT umass DOT edu X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Tony Richardson via Cygwin Reply-To: Tony Richardson Cc: cygwin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Fri, Apr 17, 2020 at 1:02 PM Eliot Moss wrote: > On 4/17/2020 1:24 PM, Erik Soderquist via Cygwin wrote: > > On Fri, Apr 17, 2020 at 7:11 AM Gerlach van Beinum wrote: > >> > >> I made a program to read a csv file from Excel. I called it excel.c > >> and it made an executable excel.exe > >> If irun that executable with: > >> ./excel.exe > >> nothing happens, i.i. no output. > >> > >> If I rename it to a.exe it runs OK. > >> > >> What about this name excel?? > > > > I believe this is actually a Windows issue; Windows recognizes > > "excel.exe" as 'a Microsoft package' and intercepts the call to launch > > the program, though I would expect Microsoft Excel to launch rather > > than 'nothing happening' > > > > I've had this problem before on hosts that did not even have Cygwin > > installed when the executable file name matched an existing 'Microsoft > > package' > > What seems a little odd to me is this. If I had invoked via: > > excel.exe > > I would not be surprised the MS Excel would launch, because it is probably > earlier in the path. But the OP said he typed: > > ./excel.exe > > So I am surprised, given the explicit path. Which leads me to a background > wondering of whether ./excel.exe has execute permission set. If not maybe > the search would continue, trying to find something on the path that could > be executed? That would surprise me a little, but I'd have to go read the > fine print on bash, etc. > > Regards - Eliot Moss > I am surprised but, I see the same behavior. No output from an executable called excel.exe. winword.exe appears to be another "special" name. Tony Richardson -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple