Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: YvesSaintYuran on 19 September 2020, 18:48:35

Title: [SOLVED] frozen console apps
Post by: YvesSaintYuran on 19 September 2020, 18:48:35
hi all
some times when I run CLI apps they just freeze
Examples:
doesn't work
Code: [Select]
moc cowsay lolcat figlet 
does work
Code: [Select]
asciiquarium neofetch

any suggestions why?
Title: Re: frozen console apps
Post by: SGOrava on 19 September 2020, 18:50:37
How do you know they are frozen?
Many cli programs when you start them with no additional argument or through pipe will wait for input from atdin (from user or program)
Title: Re: frozen console apps
Post by: YvesSaintYuran on 19 September 2020, 19:06:30
How do you know they are frozen?
Many cli programs when you start them with no additional argument or through pipe will wait for input from atdin (from user or program)
because I have experience of using them on different distros, if you look closely at the screenshot I've attached, you can see the runtime before I kill, and those are lightweight programs that should run immediately
Title: Re: frozen console apps
Post by: SGOrava on 19 September 2020, 19:09:38
cowsay is just waiting for input

run cowsay, write something, press ENTER and than CTRL+D
works fine for me
Title: Re: frozen console apps
Post by: SGOrava on 19 September 2020, 19:11:54
plus I believe moc is not something you wish to run with no arguments.
moc is some code generator for Qt.
Title: Re: frozen console apps
Post by: YvesSaintYuran on 19 September 2020, 19:18:30
cowsay is just waiting for input

run cowsay, write something, press ENTER and than CTRL+D
works fine for me
you are 100% thanks