Re: [PD] [command] can't execute "ls | wc -l"

2022-06-08 Thread IOhannes m zmoelnig
On 6/8/22 09:43, Alexandros wrote: While [ggee/shell] outputs the correct number of files in a directory with the message "ls | wc -l", [command] outputs an error code 2 with "exec ls | wc -l" and doesn't output anything. Is this intentional? If so, how can this command be executed by

[PD] [command] can't execute "ls | wc -l"

2022-06-08 Thread Alexandros
While [ggee/shell] outputs the correct number of files in a directory with the message "ls | wc -l", [command] outputs an error code 2 with "exec ls | wc -l" and doesn't output anything. Is this intentional? If so, how can this command be executed by [command]?