From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: shell-command in Windows 7 Date: Fri, 14 Apr 2017 13:04:34 -0700 Message-ID: References: <40b3fe49-18cb-c7bc-5792-98e0a7c7c8e6@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1492200327 20014 195.159.176.226 (14 Apr 2017 20:05:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Apr 2017 20:05:27 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: 42 147 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 14 22:05:24 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cz7T9-000534-Vf for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Apr 2017 22:05:24 +0200 Original-Received: from localhost ([::1]:54491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz7TC-0008T5-Fa for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Apr 2017 16:05:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz7Sj-0008So-9n for help-gnu-emacs@gnu.org; Fri, 14 Apr 2017 16:04:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz7Si-0008St-AJ for help-gnu-emacs@gnu.org; Fri, 14 Apr 2017 16:04:57 -0400 Original-Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]:33054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cz7Si-0008So-69 for help-gnu-emacs@gnu.org; Fri, 14 Apr 2017 16:04:56 -0400 Original-Received: by mail-qt0-x22b.google.com with SMTP id m36so70717463qtb.0 for ; Fri, 14 Apr 2017 13:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YncP2Rlyu3BSTGO84mLthBz7whiPViSRzwWIq5y/+74=; b=oLlnvuX3wdkqNqOaaIgN6PEI/EZ2Yqknw7DGX+vi0IqmwoNvfEfPnXWfBrrv75ye62 fQ4fjURb7EbumICudpL0YujHcgSVm6WPaqtMFCMm2yENPM1B205jCWne4raAeCuuTsQR WD+BcnuhDmet6VQm651Hj9ttAIESdzU7YM2eCvEK3QIHD+85yzDIjyHlf8ITPcoqK9Nh tCH8PVehNrcoun9xP/NHIc9yNoZ9QmdQ/vaBF30kcq5P/WOaFffshz02eGf8J5dHmc7T t+lQ3VzTeHRFdI4WPqrkNskcfAEUZnfn7zvqxDOyGd70hAWn/AJeXX9d23LByS3sh8o6 4GyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YncP2Rlyu3BSTGO84mLthBz7whiPViSRzwWIq5y/+74=; b=Zot6md2blF2VearhntyK01St7BvyWePVj2/NnfldBimQ1BUcXBJOjd4fBUs0tEwf18 abd8WPGCfuiwq0uRdISLaBSnjjXnhQlvXdr8x0GOMk3FMmUabp29p95eMNE5qksv5mBt sHstMmju/7pUi6V2Xq4Lh7YHRECb3EvMzCmNJZYKnAD7HR/skBcxIrJMOcJ4RT4CZK8O mq15IqzSFBcnfaw+Aiv0BDSwCNXmwWxh3XZ0jRR0TGlWNJnhSl/kJo5CUSlChwLCXoCb h594ouiG4ZBHeiXBDek8P2PrfrDE/2+QBNQ/KMC/XHo6KqLcdW1Ea+eISyNF0UUJnzN2 6ULA== X-Gm-Message-State: AN3rC/6NeAyoz9lnV6DNhLCrEuwbViBdG+F77ScZ6Syv7pwuaiR/hAOY 79iT9+yUeo5AXanwbgiN8hRYsgJ5yw== X-Received: by 10.237.48.228 with SMTP id 91mr9632863qtf.292.1492200295525; Fri, 14 Apr 2017 13:04:55 -0700 (PDT) Original-Received: by 10.237.32.9 with HTTP; Fri, 14 Apr 2017 13:04:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112767 Archived-At: 42 147 wrote: > It's also much faster. Zero launch lag. > > Is this better because it is based on newer Emacs, or is it just > better? What was wrong with the old code? I don't really know but there's a good chance someone who does will chime in. I use a Windows desktop at work by necessity, but I basically install Emacs and Cygwin and then try to pretend it's a Unix :) As far as I know, `w32-shell-execute' (the Emacs primitive used by the code I suggested) longstanding. My impression is that it's just not as widely known as `shell-command', `call-process', etc., because many (most?) people writing tutorials and such are on some variety of Unix-like system (mostly GNU/Linux or MacOS). > Anyway, much thanks. You're welcome - glad it helped John