call scrypt with parameters

"Fredy Cabre" <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <000001c6eb25$2d945150$0202fea9@portfredy>
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
[email protected]
http://mail.python.org/mailman/listinfo/pythonce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.