From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Bug: can not start a w32 GUI program from Emacs Date: Wed, 27 Dec 2006 01:38:13 +0100 Message-ID: <4591C075.3040905@gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167179905 15147 80.91.229.10 (27 Dec 2006 00:38:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 00:38:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 27 01:38:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GzMoI-0000l2-Ae for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 01:38:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzMoH-0002jy-SZ for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 19:38:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzMo8-0002jC-O3 for emacs-devel@gnu.org; Tue, 26 Dec 2006 19:38:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzMo7-0002gc-3S for emacs-devel@gnu.org; Tue, 26 Dec 2006 19:38:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzMo6-0002gO-US for emacs-devel@gnu.org; Tue, 26 Dec 2006 19:38:10 -0500 Original-Received: from [80.76.149.212] (helo=ch-smtp01.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GzMo6-0005qb-E0 for emacs-devel@gnu.org; Tue, 26 Dec 2006 19:38:10 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63559 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GzMo4-000104-5Y for emacs-devel@gnu.org; Wed, 27 Dec 2006 01:38:09 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: Emacs Devel X-Antivirus: avast! (VPS 0662-2, 2006-12-26), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1GzMo4-000104-5Y. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1GzMo4-000104-5Y a05060aa95b90cc392c3b486ad45b93c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64310 Archived-At: I have been trying different ways to start explorer.exe from Emacs on w32. I can not find any way that works. It is a quite annoying bug. I suspect this has something to do with the code in w32proc.c that defines start.hStdInput = GetStdHandle (STD_INPUT_HANDLE); start.hStdOutput = GetStdHandle (STD_OUTPUT_HANDLE); start.hStdError = GetStdHandle (STD_ERROR_HANDLE); This is done even if Emacs thinks it is a GUI app. Is this the problem? Why is this handles set also for GUI programs.