def run_ghostscript_command(args, stdout=__sentinel__, stderr=__sentinel__):
 if (not isinstance(args, list)):
  raise TypeError('args must be a list')
 args.insert(0, _get_gs_command())
 args.insert(1, '-q')
 args.insert(1, '-dQUIET')
 args.insert(1, '-dNOPROMPT')
 args.insert(1, '-dNOPAUSE')
 args.insert(1, '-dBATCH')
 args.insert(1, '-dSAFER')
 return execute_command(args, shell=(sublime.platform() == 'windows'), stdout=stdout, stderr=stderr)

def run_ghostscript_command ( args , stdout = __sentinel__ , stderr = __sentinel__ ) : if ( not isinstance ( args , list ) ) : raise TypeError ( 'args must be a list' ) args . insert ( 0 , _get_gs_command ( ) ) args . insert ( 1 , '-q' ) args . insert ( 1 , '-dQUIET' ) args . insert ( 1 , '-dNOPROMPT' ) args . insert ( 1 , '-dNOPAUSE' ) args . insert ( 1 , '-dBATCH' ) args . insert ( 1 , '-dSAFER' ) return execute_command ( args , shell = ( sublime . platform ( ) == 'windows' ) , stdout = stdout , stderr = stderr )
executes a ghostscript command with the given args .