Re: call scrypt with parameters

"Luke Dunstan" <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
Mensaje
Please show the exact code where you call this "RunApp".

Luke

  ----- Original Message ----- 
  From: Fredy Cabre 
  To: [email protected] 
  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
  [email protected]
  http://mail.python.org/mailman/listinfo/pythonce

_______________________________________________
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.