X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=gpdG7SXwUYr982EXVYch8u1lMJubY71lLXfKORK3Fgk JjwsF6DxlShRZ6C6pP6lCXQEjy3ng5ZRQ27JlEBzeqRpWJcnMpz+BOa+I1jYa7pn DYWOwbS/QJJd5Bt3L1cYl577wsgElPZvWBvNyVmVZ5KIGudwv7eFU+x6JII5J9vg = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=rGSOmRrMOfn15CycqwvbHN914cI=; b=LbdxIYvOOAJxiUW4c BNVFQQBxgFLB3LHh5AJ5AcTZSw7G6Ez+Lk5RkXyzSR4bdMaZ8596cPWxJKXvJ7k7 3HV6reo2XzqWqm88E4KfJywRSirvskSSsdkOLRK7FFrP1mn1mQ63Zeg4NAmHI7sf Y2Iclj9C74MAsU7gjSwpXBKxjs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 In-Reply-To: References: From: Wouter van Doorn Date: Thu, 22 Jun 2017 20:11:26 +0100 Message-ID: Subject: Re: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v5MJC7EI009879 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é 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