Michael C.
Michael C.
RRunPod
Created by Michael C. on 3/23/2025 in #⛅|pods
run commands remotely on my pod
Hi I've been trying for an hour to run bash command on my Pod via python. Nothing seems to work. Tried fabric, paramaiko. runpodctl has this command:
$ runpodctl exec python /ru.py --pod_id <redacted>
Running remote Python shell...
Waiting for Pod to come online...
$ runpodctl exec python /ru.py --pod_id <redacted>
Running remote Python shell...
Waiting for Pod to come online...
But it just hangs there and does nothing this ru.py only prints Hello World and does nothing else I tried having this ru.py locally, didn't work. I tried making this ru.py on my pod, also didn't work.
8 replies