/usr/bin/cinnamon-subprocess-wrapper is in cinnamon 2.8.6-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /usr/bin/python
# -*- coding=utf-8 -*-
import subprocess
import sys
import dbus
if __name__ == "__main__":
process_id = int(sys.argv[1])
result = subprocess.check_output(sys.argv[2:])
session_bus = dbus.SessionBus()
dbus = session_bus.get_object("org.Cinnamon", "/org/Cinnamon")
PushSubprocessResult = dbus.get_dbus_method('PushSubprocessResult', 'org.Cinnamon')
PushSubprocessResult(process_id, result)
|