From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106225 invoked by alias); 22 Jun 2017 19:11:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 106141 invoked by uid 89); 22 Jun 2017 19:11:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=anti-virus, antivirus X-HELO: mail-io0-f177.google.com Received: from mail-io0-f177.google.com (HELO mail-io0-f177.google.com) (209.85.223.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Jun 2017 19:11:49 +0000 Received: by mail-io0-f177.google.com with SMTP id j24so1411289ioi.3 for ; Thu, 22 Jun 2017 12:11:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-transfer-encoding; bh=6ZCtTgc9mZYtdzHAX2tnsbsPbsaEJ/sHkzbq42IuOj0=; b=mcwHjIBxwLz0w7jilAypZ/KHZEcrlA735tCMi8hsp4BxwP2mJp6mOAQxHObu2l9N2X g1XOyMC+grmYSH99xlQKBfPrNs8cwpyDgBrrKb90ZZiES6WvFRKeEl9sdd6YJfPHRF1B kpDzxY6o2ilAfezrjE1kC/Sh1iUsPb7LJFWI/ecJ258mH14OCSWB93A5JjPsshnGmDp6 5MUFFSdBq0QoF4u7CmimewRp0/mCQIp8p0704SggbJPNg2nTZ+0Y9r6mZLW/jc6kwp5k 8g/yD4TTnoxV2FHEYkQzh9zc0G7dY7grHnQw5UV5rPqC595lYCKkNQdMZKiPD5KnE/ZC 7pag== X-Gm-Message-State: AKS2vOzdBVzdVd/UEuSNtdIgaOeeD4AGzCdlxwmo1ekabEI2d2kzRcn9 QuTHgpjvj/+iVK/VgHeFepIREarF5g== X-Received: by 10.107.173.221 with SMTP id m90mr4332183ioo.152.1498158707348; Thu, 22 Jun 2017 12:11:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.2.14 with HTTP; Thu, 22 Jun 2017 12:11:26 -0700 (PDT) In-Reply-To: References: From: Wouter van Doorn Date: Thu, 22 Jun 2017 19:11:00 -0000 Message-ID: Subject: Re: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00272.txt.bz2 Well, it's the same antivirus (comodo) that I earlier had a working system with, and there's also the matter of it running fine under a windows command prompt. Thanks for all your suggestions! On 22 June 2017 at 17:18, Ren=C3=A9 Berber wrote: > On 6/22/2017 10:59 AM, Wouter van Doorn wrote: > >> With 'outside', I meant a normal run not involving gdb at all. Sorry >> if I was unclear. >> >> Yes, it's minty, and it's /bin/bash. >> >> Out of desperation, I have added a sleep for two seconds both before >> and after the printf statement. The sleep does not happen either! The >> prompt is immediately back, so it's more than just 'no output', it >> seems my code never even gets started. Does this shed any new light? > > Then its down to the 'weird' stuff, any anti-virus installed? (maybe > even the name hello.exe could cause an anti-virus to block it). > -- > R. Berber > > > -- > 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 > -- 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