def local_job(cmd, pollpath, name, queue):
 to_submit = ('%s; echo $? > %s' % (cmd, pollpath))
 return to_submit

def local_job ( cmd , pollpath , name , queue ) : to_submit = ( '%s; echo $? > %s' % ( cmd , pollpath ) ) return to_submit
make a local job .