[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to take user input within parallel functions
From: |
Ole Tange |
Subject: |
Re: How to take user input within parallel functions |
Date: |
Sun, 4 Jun 2023 23:13:22 +0200 |
On Tue, May 30, 2023 at 3:36 PM Ahmad Ismail <ismail783@gmail.com> wrote:
>
> Here is my script.
:
> I want to ask whether the user wants to continue with the script or not. from
> within the function. If this is not the pattern then does parallel has any
> option which ask do you want to continue with jobN.
>
> For each job, or for selected jobs, I want to ask, "do you want to continue
> with jobN (y/n)".
>
> How can I do that?
--interactive
-p Ask user before running a job.
Prompt the user about whether to run each command line and read a
line from the terminal. Only run the command line if the
response starts with 'y' or 'Y'. Implies -t.
/Ole
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: How to take user input within parallel functions,
Ole Tange <=