From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Issue with remote async processes. Date: Thu, 24 Mar 2022 23:24:14 +0100 Message-ID: <20220324222414.6k5cj2ovxfnpozwr@Ergus> References: <20220324222414.6k5cj2ovxfnpozwr.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21803"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 24 23:24:54 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXVsz-0005VO-9w for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 23:24:53 +0100 Original-Received: from localhost ([::1]:58828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXVsx-0003By-NU for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 18:24:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXVsa-0003Bf-5M for help-gnu-emacs@gnu.org; Thu, 24 Mar 2022 18:24:28 -0400 Original-Received: from sonic312-21.consmr.mail.bf2.yahoo.com ([74.6.128.83]:44601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXVsX-0006hM-7w for help-gnu-emacs@gnu.org; Thu, 24 Mar 2022 18:24:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1648160663; bh=0zqXcXFEjTv0E+BE49BErzk5tVn8sEkNpYtri6Ml1kk=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=K/XQdy5PoTue9A/ZzcP/tQFg3vEDT7Kcan2q7g16Puk3HHOYebvDsj4caMUu+xu4g/eue2blM7H0ljGrPGPe8zUuyPM1h0981l1qwVm9iaPxtIrxU8CtuFzFGGH1GcjCYkoNaXLp3RmWLpttQOHZ62UDZNWBUlviPmo6s72+t/8fXxD+CV8w6NvmyNYIjbyATpGlqyV0Jc2nTrAI8YO1+f1KF36npWq79YCAHYniW4LdK4hLo2Y8RfNWL3WDKYHjfPKASo7iRo79GECGkBg/YAfrcDA7is2GsaIO5k5xBVb/NZPGo7SfaLESiQB/q72KSfTwvNQL32MoE2qYJuTRow== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648160663; bh=frtXw3s9NYskY09FWlzugC4eA5Gsib7dyCA27Vy8c1/=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=BMDTcId6aahXKHRmyk1xCl93LHzLoOV41svzLyBwDS383VJfTGooUzh47WK21RjlP3SdYl523SwS/W5gnpqviT/kmgz0cXbYLdrOzZ5zEh0y8awD9ql6S4PmkXYWEH3LPkhJMN42EfZIu4gNVVaZQBVaKVWTDzaKqerGrlfpGL9wjq7Z3SQPxUtCMSKXX45sJCiarnf2/b6Qr9OsLgEEXc9DvIFVHN4zpZT6H/98duu3a5huLeHV0HUYWRgeRu+zuPbdXsxd8hKUUcyZXKgG6S2xubLoU229W2jcKTLMzOFoDUCLAmvkH1RcSbkEulUcvpq5PLndIvbsEKKd5xGi5Q== X-YMail-OSG: GhMG9Q8VM1l35E.bVZiMaN.fuwsqfMZtSRmqf7KzcV7RLkzkqn75bDuWdcRARWe X2AeEF20SmefjfCwXhirMkCn.HzIOsWY_xx.FyPAwGOxeqzRw3LM03zEIozG74WxG_S1ZS7H_daz pl88o8u1kawV31LcAlrUQGs0OiMXqlBYGN7urhQui43QZww2gOl61lUMWuzRkS.C_L4SR.K8H27o giJBZyIAJ8HFuvnxuwlXy8UqgEKnusjZAyel.EFOtmElE.nG8qKyX7hKrZokhgD90JJ27yMZUix1 .zKap7zPSboyElIrp.VBNbL5cHNVjeiCLRFRNjpkVaYDELNpmG07taB47OkoABie22QZshEbpWX2 bTQ4zu.OGSbrAgY6DEtQVBdFSFvCSDoBDJUEf_.xwpg_ZXkSmOeUy8xhM.JgV9T3_16KFCnw78NQ 5_DRNd9LGMOQc.7MFuN1oGiPeaRqTbyUsiXqd4PJV8yshKCHDePcF7G..GUaOHCehl67_0I8QjEm qAyqImy55jv0Z1tZW9xbGitRcsCg9gmK6drPelfJUZ3Yo8N8wMehmfN7wZSImLL2pbb7oLB32Bvy ygKhiohjhLTvnjsb7Jqb1FMulFNrIxy3BupvzFR9NliqQlgSRCVFc6aiM2EBuM_t_MQ_lOMSy9sZ xw68MHBg_4wb6YNV5rcnIazT8dlu0Y0mYtMYBX5YAI5LnH7CQkdEN6t_euTs7g_1wOZ4_osuVojE viqRcjNGnVLxP3gjcY2a0CWdlQHMJYQwMunv3GbDPPr7R3VQvxbGv8A7ZiKcIRYmMxUxt9Zzy3Nu OAwmgxAwXrtspbE4z01KCHV3vSQ8CFKLcZQImLrtdv X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Thu, 24 Mar 2022 22:24:23 +0000 Original-Received: by kubenode510.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 151079065c96c448bbd18ba5123493bf; Thu, 24 Mar 2022 22:24:19 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.19987 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.128.83; envelope-from=spacibba@aol.com; helo=sonic312-21.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136744 Archived-At: Hi: I have this simple code: (defun my/async-sentinel (process _msg) "Sentinel function for an asynchronous counsel PROCESS." (when (eq (process-status process) 'exit) (with-current-buffer " *string-output*" (while (accept-process-output process)) (message "%s" (buffer-substring-no-properties (point-min) (point-max)))))) (let ((my/output (generate-new-buffer " *string-output*" t)) process) (with-connection-local-variables (setq process (start-file-process "myls" my/output "ls")) (set-process-sentinel process #'my/async-sentinel))) This works in local processes without issues, but on remote I don't get any output. Probably it is an error in the code, but I don't understand what's missing. And something similar to this used to work before. Any help please?