From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id F129B3858D39 for ; Sat, 20 Jan 2024 15:08:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F129B3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F129B3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::436 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705763339; cv=none; b=Hapxep9kPJjwZGuO03bZYScCq2n1iQFt98bZNnfj8S5Do4EivJMIFuMWpNoDnYgAgU+ynviiRgQHR8TVhmElNedSZlLFnoQBu8L4Y5ie9uDXMqzipaNCK4Oes+i8W8RrSeRyFJJz1CanVyXdq6beMMsI3jD261PznS1Kvfb2ldg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705763339; c=relaxed/simple; bh=dGwNwIC20p5jSmQ/DC6BHkALOLw+TlFbSbJUNt9lJ9E=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=bg8Y8s2Yw26mQXRP/BZRo4X7A3VqOSxhMaVkL2TNpvx0XBHR9WtwoKewDFD8Na8ZUB1xgwQW14o1k/3AOrjhNFZEbJBLTpUf3TYDd0P16/w2k5OJ+tYlVa6Gtr6h9tD+QnTBhu8mZcZdX0TBuEt2bg+JyermEeDmk5QEMmjDk+M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3368abe1093so1444014f8f.2 for ; Sat, 20 Jan 2024 07:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705763335; x=1706368135; darn=cygwin.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=1fjMMf7JyeKK4TBTUcTUEYmWJfxHOQXuRuOTStZ54Ss=; b=EDuq0Wq1nB4Ye95NWpbb/GxyhX1JPgaKRAiTMDfXLcxxzXpO2dG6GBEqds+Bjm5J98 2cAJT2BXhkRRpIYGRDarjbSXTfoD0EH6fNlLICvuyEtHXDO0T/Gf7R9FcdO6kCotx8l7 D39xfK1kJvY43VA2FHBwul93NqEXhwGWhl4vhMSnzsZ5iaF720AqajsCshPywJqlQGAN eJxeMKjRlQiJwJwoeNHS3+dqf7TN3jEtLrMYswLGWh8woYV7YLduegJ8Agv/DrwzNJ1n btj9SOwv8vmQpV287cKdHWHH3yFpQPHMTK833aKjMKjvg/ijsJkM53i7JKqwyH+/JLF9 2OVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705763335; x=1706368135; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1fjMMf7JyeKK4TBTUcTUEYmWJfxHOQXuRuOTStZ54Ss=; b=EMhlGq5uZAPMtGmJwE0HyzPNQqGpAFp/xFVAphrah7lE0R9PW4EQEd7Hh5vCU4i0qX TyPOFg4n4cHG1ySCJsBbkRVDO+9TfeWcXiGaL8/FtGcSqJpkjuXakGmjcQqRIQTf3t4+ rfObfN0MKxIEg7eH4N8Hju1N5kVGrQU0Zai0tzjytl4UUBDKf9FOWw6O1z24OQAkHCIh OHrlFIMvY2afp9A+DtGCmnW6HpE3S4KXNpy/rF2xFIhATV3OMM2XjICDs9UO3+wLhYy3 V2DiA7j2hTq36nAHgXH9BwfY3KNqH1jCPm09JygicRC/mgtQAqCGow8Lw6oB3upJadGz Ihkg== X-Gm-Message-State: AOJu0YzPrNpEoDaYaBBjWn/F4Q5/RqXEeqHkRx7a+Dm5GpJHAUUFIGsy bdOgB0lsUqPc2AK2R42vdDh/z2sozRTYFu+0zSOkp/obp3RCqDrArasR9nOC X-Google-Smtp-Source: AGHT+IEJi/qZyavrcJebfnxgXTCTUMtfLLXoVXUDdcLjPbTyGaAR9vNiwO0qYZ2DmQfUQke+0jnWRw== X-Received: by 2002:a05:6000:8c:b0:337:9a79:a18e with SMTP id m12-20020a056000008c00b003379a79a18emr1006913wrx.24.1705763335346; Sat, 20 Jan 2024 07:08:55 -0800 (PST) Received: from ?IPV6:2001:a61:1224:9301:c6f:3807:6b85:32c9? ([2001:a61:1224:9301:c6f:3807:6b85:32c9]) by smtp.gmail.com with ESMTPSA id j16-20020a5d5650000000b0033923370b09sm3264649wrw.6.2024.01.20.07.08.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jan 2024 07:08:54 -0800 (PST) Message-ID: <96825daf-64e4-4a17-ae5c-85724a245350@gmail.com> Date: Sat, 20 Jan 2024 16:08:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cygwin/X - Query: why invoking from cmd backgrounds? To: cygwin@cygwin.com References: <34597e29-0602-446e-82e4-049fc1f3d9a5@shaddybaddah.name> Content-Language: en-US From: Marco Atzeri In-Reply-To: <34597e29-0602-446e-82e4-049fc1f3d9a5@shaddybaddah.name> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 20/01/2024 09:55, Shaddy Baddah via Cygwin wrote: > Hi, > > I am just wondering if anyone understands why XWin detaches/runs in > the background, when launched from Windows Command Prompt. Hi Shaddy, Only a guess > But here's what happens when I run that first command line from > Windows Command Prompt. No output and the command returns, though the > server is running (including with an icon tray clickable): > > | C:\Users\shaddy>C:\PublicData\sw.portapps\cygwin.x86_64\bin\XWin :1 > -nolisten tcp -ac -multiwindow > | > | C:\Users\shaddy> > > Is this special detection and handling in the main() (or whatever > entrypoint is applicable)? I assume you still have the log on /var/log/xwin/XWin.0.log but it is not anymore duplicated on the terminal > Regards, > Shaddy Marco