[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to force tty / input to be assigned , to a & backgrounded process ,
From: |
alex xmb sw ratchev |
Subject: |
how to force tty / input to be assigned , to a & backgrounded process , for fg just after varpid=$! |
Date: |
Tue, 27 Aug 2024 18:18:28 +0200 |
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 ' ?
greets
- how to force tty / input to be assigned , to a & backgrounded process , for fg just after varpid=$!,
alex xmb sw ratchev <=