X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] lepton-sch2pcb ignores ^C In-reply-to: <87y1npx32g.fsf@lepton.mail-host-address-is-not-set> References: <20230319120048 DOT BB4DF85F61DF AT turkos DOT aspodata DOT se> <87y1npx32g DOT fsf AT lepton DOT mail-host-address-is-not-set> Comments: In-reply-to "vzh (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Tue, 21 Mar 2023 22:56:26 +0300." Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20230322095425.8BCE78497643@turkos.aspodata.se> Date: Wed, 22 Mar 2023 10:54:25 +0100 (CET) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Vladimir: > "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" writes: > > It cannot be aborted with a ^C: ... > (sigaction SIGINT (lambda (sig) (primitive-exit 0))) Can't you do scm_getppid() and send a signal to the process group for forked programs ? For threads I found all_threads, cancel_thread and join-thread. There also seems to be https://www.gnu.org/software/guile/manual/html_node/Asyncs.html Regards, /Karl Hammar