I have the following piece of code which opens a program called PLATON using a .ins file. PLATON works by opening a dialog window and then number crunching with what ever is in the .ins file. The dialog window remains open, PLATON will not move onto the next .ins file until the dialog window is shut manually.
My question, is there a way of closing a window using perl commands ?
cheers harry
while ($m <=$blocks){
$ins_filename = "PMorph_$m.ins";
system ("platon -c $ins_filename"); #dialog window open
$m++;