From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evan Aad Newsgroups: gmane.emacs.help Subject: "writing to child signal FD: Bad file descriptor" message when opening a LaTeX document's PDF file using the Run Viewer button Date: Tue, 8 Nov 2022 09:02:07 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16726"; 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 Tue Nov 08 08:02:57 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 1osIdN-00049j-5r for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Nov 2022 08:02:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osIcq-0003Vs-8v; Tue, 08 Nov 2022 02:02:24 -0500 Original-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 1osIco-0003UH-7I for help-gnu-emacs@gnu.org; Tue, 08 Nov 2022 02:02:22 -0500 Original-Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osIcl-00052a-MF for help-gnu-emacs@gnu.org; Tue, 08 Nov 2022 02:02:20 -0500 Original-Received: by mail-yb1-xb33.google.com with SMTP id g127so16346330ybg.8 for ; Mon, 07 Nov 2022 23:02:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=J9mAezBfVrunAAK8SF/F0kT2nY+r/MsQFoEMzUGax24=; b=qgdD8+yXUNN+AV81ojcfV4KJKYk3BbLwnA1bWo2bfJK0nXecvWBLLzspWQB25ybcch Da/pawgMvv+RD6kL07aTNJXlTu1eDzTGShmupYdNTnu1tHPX9rvtWZhaAH3HXMfnMN5n gjfZhR4+QZaHI2BrvzIH545YcBebForPO32b9ax3phquosaasT/vSovHQ9NjveHcCDoa toF9ZpLiOB/9zvjgm9j5LAaMRdiFSNpoiMx592SwXfwcOSVJ1GQAZPWN3vk9Vqha4gRk Izo5z8nDwyP+KnW6AwSZ0uoOWPn4Gn3biE0Z85fmwhUvxrS0RTJhpR0dCDnd9D7fsemX Dc3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=J9mAezBfVrunAAK8SF/F0kT2nY+r/MsQFoEMzUGax24=; b=lmDQmVHbFdmg2N7EtWzra1lmgyfUhAMQIwPz6mnjWL1aWpnG4vpElTzr0wypTErZY3 Kt6S9Gl5LNBTv0XsNHqs+l5U0UtPXd0O69ABTXpk6XY6TRqNDNTYw26dE8rG98n+d2Lz WGLPUYmXMQSozOfZV/wBLqyd8uiZF4INuQp3SF6nqyYLRzNs/x5j5gReaeIQzdGY0zd0 LfT7jvYF36PRaIeComwEb+hauMhAEQ+fC6sfq+biKRHvlizMVXDaT6TWwJo63Qu+fXer phYUYFBf/Wf7wZ3UVH38qhCukZf3WJoq0z+QhRDuV8F7X3Rcqf/mj8/tOefS5jwYbbXQ MxRg== X-Gm-Message-State: ACrzQf2DP6EGTQGviUUEsk4WmQiDeokJ7d0jvPMXqtg2H31s7e5PK2V+ K02x/0WxWmFghbG2wTxccs8XxlX6+THMcP+24xj2ZhzH0v4Lq4gj X-Google-Smtp-Source: AMsMyM6iLJlyQ2n1Vd0XAF551Y43q+uP4NpSfeB1H+FAoeoi7Tu/ZigkqAjCF0LnGzzln8WPwMUJjBTN9+h7ggA5l7U= X-Received: by 2002:a5b:241:0:b0:6b0:90e:1d4d with SMTP id g1-20020a5b0241000000b006b0090e1d4dmr53301440ybp.648.1667890938202; Mon, 07 Nov 2022 23:02:18 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=oddeveneven@gmail.com; helo=mail-yb1-xb33.google.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140808 Archived-At: I created the following LaTeX document in Emacs: \documentclass{article} \begin{document} Hello, world! \end{document} I saved this document in a file named "mydoc.tex" inside my home directory "~/". I then processed the document through a LaTeX engine by executing the following commands in a Terminal window: > pdflatex mydoc The command ran successfully, and produced a pdf file named "~/mydoc.pdf". I then hit the "Run Viewer" button in the Emacs GUI's toolbar (i.e. the button showing a pair of glasses with the label "PDF" under them). This button is supposed to open the PDF file associated with the TeX document in the current buffer. And this is indeed what happened. However, at the same time the following message appeared in the Terminal window: /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14: writing to child signal FD: Bad file descriptor This message is appended to the Terminal window every time I hit the "Run Viewer" button. How can I fix whatever problem it is that causes this message to appear? *** System info: Computer: iMac, late 2013 OS: macOS Catalina, v. 10.15.7 Emacs: GNU Emacs, v. 28.2 (9.0) pdflatex version: 3.141592653-2.6-1.40.24 (TeX Live 2022)