From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Miele Newsgroups: gmane.lisp.guile.user Subject: Re: how to kill child process? Date: Mon, 24 Aug 2020 16:27:54 +0200 Message-ID: <87a6ykm845.fsf@gmail.com> References: <2139767403.5164633.1598212258730.ref@mail.yahoo.com> <2139767403.5164633.1598212258730@mail.yahoo.com> <87imd8mepi.fsf@gmail.com> <917930855.5387102.1598274931110@mail.yahoo.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1.50 Cc: guile-user@gnu.org To: vapnik spaknik Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Aug 24 16:28:11 2020 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 1kADSF-0000jK-B5 for guile-user@m.gmane-mx.org; Mon, 24 Aug 2020 16:28:11 +0200 Original-Received: from localhost ([::1]:37896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kADSE-0007JQ-Dq for guile-user@m.gmane-mx.org; Mon, 24 Aug 2020 10:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kADS3-0007J2-8a for guile-user@gnu.org; Mon, 24 Aug 2020 10:27:59 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:37209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kADS1-0002PM-QA for guile-user@gnu.org; Mon, 24 Aug 2020 10:27:58 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id x9so4439851wmi.2 for ; Mon, 24 Aug 2020 07:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to :message-id:date:mime-version; bh=GJg9awU4J3exrh8BRx54yO4fxKt0xxMxc10Anw1ivRI=; b=hCD8kKKpHv5qLlKdJnBX3DIsXQlIjxWu4o8PkbDipRsVqQ2p+qoKliLFBOYO+C0qdS 126DzTPLrf2v4V6hPnXB/LZQCatOxsHyHouYqmm5WXGw86SGfRqf30RYayJIgYX8rDTP pr6dap6ZbDRnZ9Kn6bmdmGq5nePQDE4v1Tq25XMiX3BLGEap4ZWV9OEnOOrJ3mY9Vh0t A2wy5VWx/T+9ZY52RdES4GWpUzqsEXW2M6/JgIuVSr9AOW1NsHJmf2aqFTs1QUhcGHN7 FLNTy6VrmaQsXwzEBPppbEJdZKcKY42I9JfGHqWhBWiWvXRoegLBlzoqEOFAfR17Dprj uLfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:message-id:date:mime-version; bh=GJg9awU4J3exrh8BRx54yO4fxKt0xxMxc10Anw1ivRI=; b=ofCv4VbuHRenVjGEOwXjY9PAklJ7FbU4wzEsxxcmdWyzosLqMahbtqo7EN13dCwBT3 CXkGAplSMvUgpc2KMui4iaXmiP0d5p8mVMhuhemsXMd1Wh+dVkhdTMOK3Fky0DvCTIfF c4NcP7qKkUzOfqqCm+C9CKx5M4n2htQPiEdcIYhv3Xtc1J/IIM6F15fjg7HJkfPJSCk/ 2wS9fH6ptpNldiUHyWc41hzfn1LeGJVVWNJ8jwTvcZCOz+egrGUaPpbIkKrbL+Xsk5vv beK8DFcNAj52fLf4LkajPXuZMOTbNeDHij7kohGhe5GpnFwbRA/xxyTgZ1CyIwXxVxEt kvpw== X-Gm-Message-State: AOAM5338wrTDcj0sjkHXmf5sw4I1rfk+m8QHD38gj1+FVHhPZXt/ZSyj fdMrojpMWF7x5pQG7PEusgJKPazkKsEvNQ== X-Google-Smtp-Source: ABdhPJzCF4riFqUZyh6H69tTnCDrOLUZrL23sJVlzeQanxpmA3dm9YgGv+M7L8JVUPabunOMyTHhjQ== X-Received: by 2002:a7b:c4ce:: with SMTP id g14mr6204424wmk.51.1598279275923; Mon, 24 Aug 2020 07:27:55 -0700 (PDT) Original-Received: from huette ([2a02:908:175c:4260:33a6:b2b0:4ad5:928d]) by smtp.gmail.com with ESMTPSA id t14sm23333671wrv.14.2020.08.24.07.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 07:27:55 -0700 (PDT) In-reply-to: <917930855.5387102.1598274931110@mail.yahoo.com> Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=sebastian.miele@gmail.com; helo=mail-wm1-x334.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:16832 Archived-At: vapnik spaknik writes: > Oops, I forgot to include the "-M" flag in the previous post. That > ensures the ssh connection is a master connection, and I get the same > problem. Look at output of the following: pkill ssh ssh -S '~/.ssh/socket/%C' -N -M -f & echo $! pgrep -a ssh Then look at the output of: pkill ssh ssh -S '~/.ssh/socket/%C' -N -M & echo $! pgrep -a ssh Passing '-f' does make 'ssh' fork. Not using '-f' does not make 'ssh' fork. (At least the current 'ssh' on my machine. I do not know whether OpenSSH in any way guarantees that behavior in the future.)