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
Studio Bugs, which is subscribed to The Ubuntu Studio Project.
Matching subscriptions: UbuntuStudio Bugs
https://bugs.launchpad.net/bugs/1831154

Title:
  [needs-packaging] ubuntustudio-menu-add

Status in Ubuntu Studio:
  In Progress
Status in Ubuntu Studio Menu Add:
  In Progress
Status in Ubuntu:
  New

Bug description:
  New native package for Ubuntu Studio. From the description:

   Utility for creating a menu item within the XDG menu for
   a user. It allows adding a script or other application to
   the XDG menu. It can also modify a menu item by creating
   a new version for the user. This utility does not change
   any of the system menu files.

  Please sponsor package. Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntustudio/+bug/1831154/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to