I am trying to use the shell_command feature from Kiauh #437

Closed
opened 2024-02-07 11:21:50 +01:00 by Dalinaffeti · 4 comments
Dalinaffeti commented 2024-02-07 11:21:50 +01:00 (Migrated from github.com)

Linux Distribution

Raspbian

What happened

i wanted to execute the typical testing "echo hello world with the following:
[gcode_shell_command hello_world]
command: sudo echo "hello world"
timeout: 2.
verbose: True
[gcode_macro HELLO_WORLDD]
gcode:
RUN_SHELL_COMMAND CMD=hello_world

but when i type: HELLO_WORLDD in the console i ddint get an output back

What did you expect to happen

i expected the output hello world

How to reproduce

thats something that i dont know. I dont think this is a bug, maybe i am just missing on something

Additional information

No response

### Linux Distribution Raspbian ### What happened i wanted to execute the typical testing "echo hello world with the following: [gcode_shell_command hello_world] command: sudo echo "hello world" timeout: 2. verbose: True [gcode_macro HELLO_WORLDD] gcode: RUN_SHELL_COMMAND CMD=hello_world but when i type: HELLO_WORLDD in the console i ddint get an output back ### What did you expect to happen i expected the output hello world ### How to reproduce thats something that i dont know. I dont think this is a bug, maybe i am just missing on something ### Additional information _No response_
dw-0 commented 2024-02-08 09:02:37 +01:00 (Migrated from github.com)

There is no point in using sudo for a simple echo command. Try without sudo.

There is no point in using sudo for a simple echo command. Try without sudo.
Dalinaffeti commented 2024-02-08 11:26:42 +01:00 (Migrated from github.com)

i tried without but it is the same thing. Even when i give the HELP command on the console nothing shows up

i tried without but it is the same thing. Even when i give the HELP command on the console nothing shows up
Dalinaffeti commented 2024-02-08 11:28:08 +01:00 (Migrated from github.com)

gitkiauh

![gitkiauh](https://github.com/dw-0/kiauh/assets/72552658/83a9eb11-6b39-472e-a98f-d6350efa871c)
dw-0 commented 2024-02-08 11:43:40 +01:00 (Migrated from github.com)

Not sure what the issue could be if even the HELP command does not output anything.
Please consider joining the Klipper or Mainsail Discord, to get support for that. I will close this issue, as this is not really related to an issue with KIAUH.

Not sure what the issue could be if even the HELP command does not output anything. Please consider joining the Klipper or Mainsail Discord, to get support for that. I will close this issue, as this is not really related to an issue with KIAUH.
Sign in to join this conversation.