From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: How to capture pid of (system process? Date: Fri, 17 Dec 2021 06:45:16 +0000 Message-ID: <65c741f569c6a5150278f0fe3725cf21c1cf7153.camel@telenet.be> References: <25238084-6589-146f-566c-89f7df9afad9@rixotstudio.cz> <5f0a15eea9c3b9d111f8e096a3a37571a95e5795.camel@telenet.be> <45d70782-ec32-355d-9ecd-44e0dc8de4e8@rixotstudio.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Jacob Hrbek , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Dec 17 07:47:03 2021 Return-path: Envelope-to: guile-user@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 1my71C-0002Uc-Ly for guile-user@m.gmane-mx.org; Fri, 17 Dec 2021 07:47:02 +0100 Original-Received: from localhost ([::1]:53634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my71B-0003s9-8r for guile-user@m.gmane-mx.org; Fri, 17 Dec 2021 01:47:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my6zg-0003p1-Bf for guile-user@gnu.org; Fri, 17 Dec 2021 01:45:28 -0500 Original-Received: from leibniz.telenet-ops.be ([195.130.137.77]:53988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my6zd-0000eh-PL for guile-user@gnu.org; Fri, 17 Dec 2021 01:45:27 -0500 Original-Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by leibniz.telenet-ops.be (Postfix) with ESMTPS id 4JFfcc5ykdzMqpG0 for ; Fri, 17 Dec 2021 07:45:20 +0100 (CET) Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id XJlG2600f4UW6Th06JlGgq; Fri, 17 Dec 2021 07:45:17 +0100 In-Reply-To: <45d70782-ec32-355d-9ecd-44e0dc8de4e8@rixotstudio.cz> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1639723517; bh=4WmsiQ6eiWPpVckDaVtKDYWMhnS8WhBQy3yTPgPes4w=; h=Subject:From:To:Date:In-Reply-To:References; b=u2517fTMtsKeZRPwumXNxl2QmvVZh4gcgCaB60g4yZJrqo6JpFDfpdZGzZtQXAAUw xfS2sRUtanz74ON8zBQOu4PfqFRf8LbsUSKpnR3gujc1WC6zR8dYUeTkMo+wpClbOP Ow5NIlkTcKxLWmPVBF08alOnrht2ihyD0V/0fqfH8ufLKxOj8neDzS6vcTKIdzcJOI /DKEDlyhCT6mOzhJIX7Z9w+q+WzIOiUeATIaAmweg4oWiBB3YqD7hny0BxY5AZZ186 7iwW0lgtAbZH46FhXL2EWlNXn+/cJGESCvVW4C/gNIpi48BnSwf6+PY9NbfxMMoKnX WippEXcCahmLw== Received-SPF: pass client-ip=195.130.137.77; envelope-from=maximedevos@telenet.be; helo=leibniz.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17864 Archived-At: Jacob Hrbek schreef op vr 17-12-2021 om 01:32 [+0000]: > Can you elaborate? (I am a noob in guile atm) These procedures are documented in the manual of Guile, you could look in the source code of Shepherd and Guix for examples. Most of these procedures are based on POSIX functions, so you could look at the documentation of the corresponding POSIX functions for the general concept. Greetings, Maxime