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 14:05:29 +0200 Message-ID: <87imd8mepi.fsf@gmail.com> References: <2139767403.5164633.1598212258730.ref@mail.yahoo.com> <2139767403.5164633.1598212258730@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="4889"; 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 14:05:50 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 1kABEU-0001Ad-1e for guile-user@m.gmane-mx.org; Mon, 24 Aug 2020 14:05:50 +0200 Original-Received: from localhost ([::1]:35642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kABES-0008Ql-QI for guile-user@m.gmane-mx.org; Mon, 24 Aug 2020 08:05:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kABEE-0008QJ-5A for guile-user@gnu.org; Mon, 24 Aug 2020 08:05:34 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:39190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kABEC-0006MT-Nx for guile-user@gnu.org; Mon, 24 Aug 2020 08:05:33 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id g75so7884212wme.4 for ; Mon, 24 Aug 2020 05:05:32 -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=IvQeimVVh8T487Q05z6mYCsxfK4qk2maoJ1Nkgjhx2Q=; b=p3xRt4NUiU0KFbhi9Z7Kjork6bWTBfAL1t4j81QuLZHD0HR15AM3H51nDJ/35RIImg cAjn2WM2ySPXguTnt/ls2DKpEkOPU6FG5Gga9LqPp6zS0N991P/ZRaMaaZmBy6En/TOC 9m8spqLGUlrpkqHOjeY//VuFxn+qf5TNDRC6qNSSYe2xfzbs2/HuQRl1yehLLqvdsHNQ n9B0yexM/7moupFxEejywvMuxnhblg6X43JueIRcuEPYuSI8jNlL2x+BigZJp+kYqvJC 9gUzAiL/rUyZPbKP27hWqVe4Qz3EBRXS1NFo7qqzLI7ibZrx/jAOqPS/8MOfEGU6P7+R wifw== 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=IvQeimVVh8T487Q05z6mYCsxfK4qk2maoJ1Nkgjhx2Q=; b=i/oucWp690tvt4u5PRaWFkX7lo62qSkZfAewXoooN2qcsEBTkAw5+JNMErq1uhq4YZ fv38rPF3+ePV1pj7ZinBzimtN7dJ1aI3d0uVlRF7Tv/Uq2zHZcpLqVJuph7Z5PMqnLhJ dytJjqiYxy0wMbJy5Jh+bQrV4nalF2T8zoqWtWaWtRaiOpIHBxetL+o7AFS1tWQeua9h XVc7kS4plO924rc0h1DSVGzGAY9lzs+0ddiqVR5MguOJCGrnk6QP49H2DOiq+WEaAiru eZk+5WA1bY1v5v/NAroMrIeEVdSxE/8qhfQl0kE+S9HyoPNP23LVkOqO7gUY7gtpOM6m m+Sg== X-Gm-Message-State: AOAM532gZjsXVb4KoqWIb3zGEN5d9Kw91871N43PLhXSgMns+3HzO4vq A/OpRjOpcMXeHXgMzOl3SEbqub001Iks5Q== X-Google-Smtp-Source: ABdhPJxHxm/7xszUDxT9xfw9JmoR/Wq0idtUWSoLktqP5OJtBaODPM20Totk28EypgH3wmLDsIs/TA== X-Received: by 2002:a1c:2003:: with SMTP id g3mr5081722wmg.99.1598270730889; Mon, 24 Aug 2020 05:05:30 -0700 (PDT) Original-Received: from huette ([2a02:908:175c:4260:33a6:b2b0:4ad5:928d]) by smtp.gmail.com with ESMTPSA id s2sm22857011wrr.55.2020.08.24.05.05.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 05:05:30 -0700 (PDT) In-reply-to: <2139767403.5164633.1598212258730@mail.yahoo.com> Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=sebastian.miele@gmail.com; helo=mail-wm1-x335.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:16830 Archived-At: vapnik spaknik writes: > (execlp "ssh" "ssh" "-S" "~/.ssh/%C" "-N" "-f" "remotehost") > > However, this doesn't work The problem probably is the following: The above invocation of 'ssh' with '-S' is the invocation of a slave. It creates a master (with a new PID). After that it immediately exits ('-N'). Best wishes Sebastian