Title: Mensaje
 
Please show the exact code where you call this "RunApp".
 
Luke
 
----- Original Message -----
Sent: Monday, October 09, 2006 6:00 AM
Subject: [PythonCE] call scrypt with parameters

the problem that I wrote in the previous e-mail is solved with reset of the ppc. :-)
 

But now I have another problem. I make a little aplication with a program (Sprint DB) that allow to send another program with a method named 'RunApp',

well, I call my scrypt with this metod that have 2 parameters: Application and Parameters. I put the path of the scrypt in the

Aplicattion parameter and the scrypt's parameters in the Parameters parameter,

but when i call the method give this error:

        path_origen=sys.argv[1]   

        'list index out of range'

 

That mains that the scrypt don't detect the parameters that i send.

What can I do to send the scrypt's arguments correctly?

Thank you.

 


_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce
_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce

Reply via email to