1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Execute "sudo mavproxy.py" from Python script

Discussão em 'Python' iniciado por Stack, Maio 23, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to execute this command sudo mavproxy.py from a python script on raspberrypi. I can execute this in the shell and see it load.

    The code I have for my current test is:

    import subprocess
    subprocess.call('sudo mavproxy.py')


    Running this the code executes however looking at the terminal window nothing happens. I'm not sure whether it is executing correctly.

    Continue reading...

Compartilhe esta Página