Re: [OVC-demo-team] Problems with RII

From: Arthur Keller <arthur_at_kellers_dot_org>
Date: Thu Mar 25 2004 - 10:22:29 CST

Thanks, but the runrii.py runs in a loop. Should I replace using
runpii.py by executing your script? Thanks.

Best regards,
Arthur

At 8:15 AM -0800 3/25/04, Fred McLain wrote:
>On Wed, 2004-03-24 at 22:23, Arthur Keller wrote:
>> 1. RII doesn't print the ballot, it merely writes a file called
>> ballot.ps. It needs also to issue the command:
>>
>> lpr ballot.ps
>>
>I think a small wrapper script like the one I made for gui.py might be
>appropriate:
>
>---- SNIP ----
>#!/bin/sh
>cd src/evm2003/rii
>while true
>do
> python RII.py
> if [ $? = 0 ]
> then
> if [ -f debug ]
> then
> ghostview ballot.ps
> # exit
> else
> lpr ballot.ps
> fi
> fi
> sleep 5
> if [ $? != 0 ]
> then
> exit
> fi
>done
>---- SNIP ----
>
>
>Attachment converted: ARK G5 HD:rungui.sh (TEXT/ttxt) (00543672)

-- 
-------------------------------------------------------------------------------
Arthur M. Keller, Ph.D., 3881 Corina Way, Palo Alto, CA  94303-4507
tel +1(650)424-0202, fax +1(650)424-0424
==================================================================
= The content of this message, with the exception of any external 
= quotations under fair use, are released to the Public Domain    
==================================================================
Received on Thu Apr 1 02:40:33 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:37 CST