From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kMXcLHe2x2PGuQAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 10:05:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0Dm6LHe2x2P2pwAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 10:05:59 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A59E105BB for ; Wed, 18 Jan 2023 10:05:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pI4Nd-0003fE-G0; Wed, 18 Jan 2023 04:05:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pI4Nb-0003f5-TI for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 04:05:11 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pI4NX-0005qz-G6 for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 04:05:11 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 415E924010E for ; Wed, 18 Jan 2023 10:05:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674032705; bh=+Dg4Xj6keNbla8V0kOxFiHsF3HK2NnvUL+iE/n/Q9C4=; h=From:To:Cc:Subject:Date:From; b=NSLDsmtQKMnJCVCnl4Y+/U94W4E+ozvECnW8moIcWI8pzy+TmWd91vwnMleTa9a/Y VAkfK3O2Imkoll59quP7GCW0sD/6ASxXLLRMWT0Av22aoGfQYHUvmSnA2/+Yz00Bgl kN8rdYAymla087E7yLkMs78+fY/MjlvPFfZ91jJ5L7GE4E3kI2pHRakhrdtFmfPsFk ti6avw+b5k+yRZYbqnkVbFxxKgStwcE+R9bUCL7z4Gv/BnpRnZVKioqFHKpQo+LwiR owDF6Ekf/xoLsUDKWaoQ3wPsCXkQVdeIBMtYKCfRimvoxg8bi+lUkf6oSDG//L8llW PQwTiDIMEgDxQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NxfwZ58Lhz9rxS; Wed, 18 Jan 2023 10:05:02 +0100 (CET) From: Ihor Radchenko To: Matt Cc: Osher Jacob , emacs-orgmode Subject: Re: [BUG] ob-shell doesn't evaluate last line on Windows (cmd/cmdproxy) [9.6.1 ( @ c:/Users/Osher/AppData/Roaming/.emacs.d/elpa/org-9.6.1/)] In-Reply-To: <185c34814a4.bcdd7b94578193.327779579906739164@excalamus.com> References: <185bc86c826.11ae860d1190626.407710511075709301@excalamus.com> <185bd43e452.bb3f5419220019.823265614059778953@excalamus.com> <185c34814a4.bcdd7b94578193.327779579906739164@excalamus.com> Date: Wed, 18 Jan 2023 09:05:34 +0000 Message-ID: <87ilh48b6p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674032759; a=rsa-sha256; cv=none; b=b5Vc5MXFXLkbpZETCyK/zsc0Hxbxk7YRj9mwonEkos8ishGwPwCA61mpaofCLpCwS4nifp nDQnP1iLHin+Zrt2ndrlgEcUq4UA0HTe8qH0MXLsdWnKEdYpO/RkoopPlVzkrznY7fWTDD JBo93QapAm3FjwLQBgfVyOFqk9qdi+AXsp7zIFgQczkjl7NyFhgmjv2d3ng+75mjr0Zx0E Kqsd8Nta1zfv7MsFEBDSMef/hsa8mt3LPikWBm6Fx3orp3/djNLWIxMhRbnAOIRakQfjdo rp9yb+J8t7k0D5/BeZC/ZScI2hpB6f4/Mu341ox/msbYHYFcQmmmF6L3rPr/iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NSLDsmtQ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674032759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iiWKdUTYBtySW5nRm1YvLOxfiv8lOQfNrtEuZXV01wg=; b=A4wgiNvBshWiEt3WENC7JTrfjs9gtyTCqbey/evw/Jj2VgrdensY7DIDLZAf5gsI2NCZS+ pHL8tTTX30MK7j8kZA52CxAGNlDh3fffVvf/AgZeKoAexkcZpjwvPclQySR4n+NCsOBpcy hls17DXiSUsD6qPKFZaPJRh1FdMw/Tz5CedezBMXtOcHICXSd+2cg9/ylv9BdnOwTjFVG1 doj8mrt59Nhc7qRHSpW6dCpbNv9FtQzPLMDg9tkmt3+PwkvLy7WC38naXsr5Oevxa/ncPS E3JlL7tNZs1tH7W5FTR79j18XtNB81spycJEiHlfk64Ze407m2mFsgr7BxgPrA== X-Spam-Score: -6.68 X-Migadu-Queue-Id: 3A59E105BB Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NSLDsmtQ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.68 X-TUID: nO2OT6w6xipg Matt writes: > (process-file > "cmdproxy.exe" ; shell-file-name > "/path/to/temp/containing/block/source" ; input-file > (t "/tmp/babel jTCHe/ob-error-yHOivA") ; output destination (like call-process's DESTINATION) > nil ; display > "-c" ; args > "cmdproxy.exe" ; args > Thoughts? If running cmdproxy.exe /c cmdproxy.exe /path/to/input is not wrong, the problem is on Emacs side. Osher, could you try putting your example script into a file and running the command line directly? What will it output? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at