#run shell command example?

6 messages · Page 1 of 1 (latest)

tame hull
#

How does one actually run a shell command in ratos?

tame hull
#

I am trying to run ~/klipper/scripts/graph_accelerometer.py -c /tmp/raw_data_axis*.csv -o ~/klipper_config/input_shaper/resonances.png but I can't even get a simple command like ls to work

terse fox
#

Look at the shell-macros.cfg

#

You need to define the command before you can call it via gcode.

#

safety 🙂

#

also, it won't accept commands prefixed with sudo