sigtype [-j jobid OR -a jobalias] [-s|g]
sigtype must be the first arg
jobid can be obtained via mpdlistjobs and is of the form:
jobnum@mpdid where mpdid is mpd where first process runs, e.g.:
1@linux02_32996 (may need @ in some shells)
is sufficient if you are on the machine where the job started
one of -j or -a must be specified (but only one)
-s or -g specify whether to signal the single user process or its group (default is g)
Delivers a Unix signal to all the application processes in the job
Close a file descriptor (for low level IO).
ctime(seconds) -> string
Convert a time in seconds since the Epoch to a string in local time.
This is equivalent to asctime(localtime(seconds)). When the time tuple is
not present, current time as returned by localtime() is used.
Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is numeric, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).