<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18372"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText36545>
<DIV dir=ltr><FONT color=#000000 size=3 face="Times New Roman">Hola Paulo, </FONT><FONT color=#000000 size=3 face="Times New Roman">el primer parámetro de startOrForeground no debe ser ""</FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Intenta exactamente esto:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>ProcessUtils.startOrForeground("AAABBBCCC", "invasao.exe", "");</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Puedes enviar el archivo log que se ha creado en tu test?</DIV>
<DIV dir=ltr>Puedes enviarme el archivo invasao.exe para que haga una prueba?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Saludos,</DIV>
<DIV dir=ltr><FONT size=2 face="Courier New"><FONT size=3 face="Times New Roman"></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face="Courier New"><FONT size=3 face="Times New Roman">Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV></DIV>
<DIV dir=ltr id=idSignature50051>
<DIV><FONT size=2 face="Courier New"><FONT size=2 face="Courier New"><FONT size=2 face="Courier New">Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT size=2 face="Courier New">Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT size=2 face="Courier New">http://www.prodevelop.es</FONT></A><BR><FONT size=2 face="Courier New">---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De:</B> gvsig_desarrolladores-bounces@listserv.gva.es en nombre de Paulo Afonso de Souza<BR><B>Enviado el:</B> mar 01/12/2009 12:55<BR><B>Para:</B> Forum GvSIg<BR><B>Asunto:</B> [Gvsig_desarrolladores] GvSig Mobile<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV dir=ltr id=idOWAReplyText32064>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial><SPAN style="BACKGROUND-COLOR: #fff" title="fiz a chamada do executável conforme você me passou, esta executando o comando sem erros mas o executável não está sendo chamado.">Tiene la palabra el ejecutable a medida que me pasó, de ejecutar este comando sin errores, pero el ejecutable no se está llamando. </SPAN><SPAN style="BACKGROUND-COLOR: #fff" title="Colquei dentro de um try, mas nenhuma exceção está sendo gerada, segue meu código para análise.">Colque, en un intento, pero no es la excepción y se está generando, siga mi código para su revisión.</SPAN> 
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial><SPAN class=long_text><SPAN style="BACKGROUND-COLOR: #fff" title="Colquei dentro de um try, mas nenhuma exceção está sendo gerada, segue meu código para análise."></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial><SPAN class=long_text><SPAN style="BACKGROUND-COLOR: #fff" title="Colquei dentro de um try, mas nenhuma exceção está sendo gerada, segue meu código para análise."><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>
<P align=left>try</B></FONT></FONT><FONT size=2>{</P>
<P align=left></FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>logger</I></FONT></FONT><FONT size=2>.error(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"Encontrou executável!"</FONT></FONT><FONT size=2>);</P>
<P align=left>ProcessUtils.<I>startOrForeground</I>(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>""</FONT></FONT><FONT size=2>, </FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"invasao.exe"</FONT></FONT><FONT size=2>, </FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>""</FONT></FONT><FONT size=2>);</P>
<P align=left></FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>logger</I></FONT></FONT><FONT size=2>.error(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"Passou executável!"</FONT></FONT><FONT size=2>);</P>
<P align=left>} </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>catch</B></FONT></FONT><FONT size=2> (Exception e) {</P>
<P align=left></FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>logger</I></FONT></FONT><FONT size=2>.error(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"erro ao chamar executável!"</FONT></FONT><FONT size=2>+e.getMessage());</P>
<P>}</P></FONT></SPAN></SPAN></FONT></DIV></FONT></DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr id=idSignature75223>
<DIV><FONT color=#000000 size=2 face=Arial>
<DIV class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"><B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #0066cc; FONT-SIZE: 10pt">Paulo Afonso</SPAN></B></DIV>
<DIV class=MsoNormal>
<DIV style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #0066cc; FONT-SIZE: 10pt"></SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt">Desenvolvedor Senior II</SPAN></DIV>
<DIV style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt">Coffey Mining<BR></SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt">Av Afonso Pena 3924 conj 206 - Bairro Cruzeiro<BR>Belo Horizonte - MG - Brasil - CEP 30.130-009<BR>T +55 31 2104 2100&nbsp; +55 31 0000 0000<BR><A title=http://coffey.com/ href="http://coffey.com/"><SPAN style="COLOR: #0066cc">coffey.com</SPAN></A></SPAN></DIV>
<DIV style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt"><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt" lang=EN-US><FONT color=#000000></FONT></SPAN></SPAN>&nbsp;</DIV></SPAN></FONT></DIV></FONT></DIV></DIV></DIV></BODY></HTML>