[Paraview] Python scripts and exit

Scott, W Alan wascott at sandia.gov
Tue Feb 21 13:57:17 EST 2012


When I run pvbatch, with the following script, pvbatch never exits.  Is there a way to get pvbatch to exit?


# write a file
f = open('/... /working.txt', 'w')
f.write('script worked\n')
f.close()

# exit
exit()


Thanks,

Alan

--------------------------------------------------------
W. Alan Scott
ParaView Support Manager

GAITS
Sandia National Laboratories, MS 0822
Org 9326 - Building 880 A1-C
(505) 284-0932   FAX (505) 284-5619
---------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120221/aa666f3d/attachment.htm>


More information about the ParaView mailing list