Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] frozen console apps (Read 757 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] frozen console apps

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?

Re: frozen console apps

Reply #1
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)

Re: frozen console apps

Reply #2
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

 

Re: frozen console apps

Reply #3
cowsay is just waiting for input

run cowsay, write something, press ENTER and than CTRL+D
works fine for me

Re: frozen console apps

Reply #4
plus I believe moc is not something you wish to run with no arguments.
moc is some code generator for Qt.