[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to force tty / input to be assigned , to a & backgrounded proces
From: |
alex xmb sw ratchev |
Subject: |
Re: how to force tty / input to be assigned , to a & backgrounded process , for fg just after varpid=$! |
Date: |
Wed, 28 Aug 2024 18:14:01 +0200 |
i meant /dev/tty , or siiliar
rephrased q : how to reserve stdin for when opening a cmd , for the cmd
np redirs even ?
On Tue, Aug 27, 2024, 6:18 PM alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
> there is a program , that when given no args , it goes into stdin mode
> in input mode , also in output mode , comtrol - c is used by this app ,
> for like abort-output-and-continue-input
>
> for this i gotta know the pid , to send int to
>
> so cmd & pid=$! ; fg
>
> my q is should i add something </dev/stdin to cmd ? to be ' more sure ' ?
>
i meant
greets
>