try :
      jps_out = check_output(["jps", "-v"])
    except Exception as e:
      if options.debug:
        print e