Consider it a goal to remove all the uses of subprocess except exo- desktop-item-edit, and to replace the string-based execution there with an array-based execution as seen in the documentation: https://docs.python.org/3/library/subprocess.html#subprocess.run
For the rm and cp commands: https://docs.python.org/3/library/os.html#os.unlink https://docs.python.org/3/library/shutil.html#shutil.copyfile Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831154 Title: [needs-packaging] ubuntustudio-menu-add To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntustudio/+bug/1831154/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs