From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A438113838B for ; Sun, 28 Sep 2014 14:22:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14768E08EA; Sun, 28 Sep 2014 14:22:07 +0000 (UTC) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B961CE08DD for ; Sun, 28 Sep 2014 14:22:05 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id tr6so975405ieb.0 for ; Sun, 28 Sep 2014 07:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4SU8o4ajri7pK10eF7K/eSc8g+qSmIFM8Z2hWfeoJX4=; b=D5sTtvXchGwXxrZby2rgxv1rut8cmvOV5xbVLZbnr1Lxz5iyuM81uCbN1ZMZxwAqjP VglW0zYcfVZjK0N4g1IxlKRMCmnun2JAcidm1EHbcVx+Itrk7/WMheA7MDvYaHBDQ5EC BPLrOaiYr52tLyxcRKAXIrkpK43bVlygpICbHFpigntqPoO5Gn//WpPkrdysr/M3Nh+9 8zGKQBufLYc5XvCvHUYC+UnXiaXa4Fend8Nq+sB7z+/WG0ozgXW1A4ZQ3D+XXb/NOCLF 5hColFOUZBgFICvotvV86YaHEgRnQi7Y7PmF+5W4ifXwZgI1ilNvcTrx864w/v0kFgf6 PrLw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.43.82.66 with SMTP id ab2mr40466061icc.56.1411914124897; Sun, 28 Sep 2014 07:22:04 -0700 (PDT) Received: by 10.107.154.8 with HTTP; Sun, 28 Sep 2014 07:22:04 -0700 (PDT) Received: by 10.107.154.8 with HTTP; Sun, 28 Sep 2014 07:22:04 -0700 (PDT) In-Reply-To: <20140928141351.GD3821@solfire> References: <20140928141351.GD3821@solfire> Date: Sun, 28 Sep 2014 16:22:04 +0200 Message-ID: Subject: Re: [gentoo-user] Running a program on a headless computer ? From: =?UTF-8?Q?Randolph_Maa=C3=9Fen?= To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=bcaec5186b0ade5740050420df66 X-Archives-Salt: 8f002b59-48e5-4dd1-84b6-1355e6466e18 X-Archives-Hash: c814c5ce6f1b5c23d6f5a0de2f2bc447 --bcaec5186b0ade5740050420df66 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sep 28, 2014 4:14 PM, wrote: > > Hi, > > I want to run programs, which insist on haveing a terminal > to write their status to and which are writing files which > their results on a headless computer (beaglebone). > > I tried things like > > my_program -o file.txt -parameter value > /dev/null &2>&1 & > > but this results in a idle copy of this process and a defunct > child. > > The program does not use X11 in any way... > > Is there any neat trick to accomplish what I am trying to do here? > > Thank you very much in advance for any help! > Best regards, > mcc > > > I would suggest to run the program in a screen session, you can disconnect frim the session and reconnect later. http://www.gnu.org/software/screen/ -- Best regards Randolph Maa=C3=9Fen --bcaec5186b0ade5740050420df66 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sep 28, 2014 4:14 PM, <meino.c= ramer@gmx.de> wrote:
>
> Hi,
>
> I want to run programs, which insist on haveing a terminal
> to write their status to and which are writing files which
> their results on a headless computer (beaglebone).
>
> I tried things like
>
> =C2=A0 =C2=A0 my_program -o file.txt -parameter value > /dev/null &= amp;2>&1 &
>
> but this results in a idle copy of this process and a defunct
> child.
>
> The program does not use X11 in any way...
>
> Is there any neat trick to accomplish what I am trying to do here?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>

I would suggest to run the program in a screen session, you = can disconnect frim the session and reconnect later.

http://www.g= nu.org/software/screen/

--
Best regards
Randolph Maa=C3=9Fen

--bcaec5186b0ade5740050420df66--