Search found 1 match

by stampedes
October 4th, 2010, 6:55 pm
Forum: Feature Requests
Topic: renicing par2/unpack/yenc processes for nix/osx
Replies: 5
Views: 7326

Re: renicing par2/unpack/yenc processes for nix/osx

the above code is not far from a quick-and-dirty standin for ionice: #!/usr/bin/env python from ctypes import cdll import sys, os, getopt # chomp all the options that ionice takes. # ignore them and simply set throttle priority optlist,args = getopt.getopt(sys.argv[1:], 'tc:n:p:') # load libc and se...