<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Mensaje</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please show the exact code where you call this
"RunApp".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Luke</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=fredy9@menta.net href="mailto:fredy9@menta.net">Fredy Cabre</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=pythonce@python.org
href="mailto:pythonce@python.org">pythonce@python.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 09, 2006 6:00
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [PythonCE] call scrypt with
parameters</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=781504921-08102006>the problem that I
wrote in the previous e-mail is solved with reset of the ppc.
:-)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=781504921-08102006></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=781504921-08102006><FONT face=Arial size=2>
<P><SPAN class=781504921-08102006>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',</SPAN></P>
<P><SPAN class=781504921-08102006>well, I call my scrypt with this metod that
have 2 parameters: Application and Parameters. I put the path of the scrypt in
the </SPAN></P>
<P><SPAN class=781504921-08102006>Aplicattion parameter and the scrypt's
parameters in the Parameters parameter,</SPAN></P>
<P><SPAN class=781504921-08102006>but when i call the method give this
error:</SPAN></P>
<P><SPAN class=781504921-08102006>
path_origen=sys.argv[1] </SPAN></P>
<P><SPAN class=781504921-08102006>
'list index out of range'</SPAN></P>
<P><SPAN class=781504921-08102006></SPAN> </P>
<P><SPAN class=781504921-08102006>That mains that the scrypt don't detect the
parameters that i send.</SPAN></P>
<P><SPAN class=781504921-08102006>What can I do to send the scrypt's
arguments correctly?</SPAN></P>
<P><SPAN class=781504921-08102006>Thank you.</SPAN></P>
<P><SPAN class=781504921-08102006></SPAN> </P></FONT></SPAN></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>PythonCE mailing
list<BR>PythonCE@python.org<BR>http://mail.python.org/mailman/listinfo/pythonce<BR></BLOCKQUOTE></BODY></HTML>