strange behaviour sys.argv

Charles Sanders C.delete_this.Sanders at BoM.GOv.AU
Tue Apr 17 02:34:10 EDT 2007


schnupfy wrote:
> 
> ok, thanks for the answers. I try to hand over the 3rd part (the long
> trap) as one cmd argument. I will ask in a shell ng. Thanks again.
> 
> Cheers

	Should be as simple as removing the backslashes

/root/mk/services.py $HOST $SEVERITY "$TRAP"

should pass TRAP as a single arg

Charles



More information about the Python-list mailing list