execute bash?
Puming via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 8 07:09:16 PDT 2016
On Friday, 8 April 2016 at 13:23:10 UTC, Adam D. Ruppe wrote:
> On Friday, 8 April 2016 at 10:08:07 UTC, Puming wrote:
>> but with each command loop, the program is stopped (equal to
>> Ctrl-Z).
>
> Your program is stopped, right?
>
> Odds are it is that there's terminal output for the background
> process, which sends your program a signal which, by default,
> stops it.
>
> From man 7 stop:
>
> SIGSTOP 17,19,23 Stop Stop process
> SIGTSTP 18,20,24 Stop Stop typed at terminal
> SIGTTIN 21,21,26 Stop Terminal input for
> background process
> SIGTTOU 22,22,27 Stop Terminal output for
> background process
>
Ah, that must be the case. Thanks :-)
I just found that you have terminal.d in arsd repo, are you
writing a repl with it? I'm hoping I might be able to use it.
I'm writing a simple repl for my toy language for learning.
>
>
> I'd say try catching one of those signals and confirm if it is
> one of them and then figure out what to do next. Maybe ignoring
> the signal is what you want to do.
More information about the Digitalmars-d-learn
mailing list