help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] How to debug pipeline that seems to stop?


From: Peng Yu
Subject: Re: [Help-bash] How to debug pipeline that seems to stop?
Date: Sat, 22 Dec 2018 18:51:32 -0600

On Sat, Dec 22, 2018 at 12:24 PM Eduardo Bustamante <address@hidden> wrote:
>
> On Sat, Dec 22, 2018 at 9:04 AM Peng Yu <address@hidden> wrote:
> (...)
> > Also, I once typed Enter in the foreground, and the stop process
> > (stopped running for a few hours) could keep on running. I am not sure
> > why such weird behavior could occur and I am not sure how to debug it.
> > Has anybody seen such a situation and the possible debugging
> > strategies?
>
> Have you tried 'strace -fo trace.log ./myscript'?
>
> Sounds like one of your programs is trying to read from the attached
> terminal directly.

What is the equivalent one for Mac OS X? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]