Mail Archives: cygwin/2003/02/21/10:32:23
Hi! and sorry my english,
I've a server in Linux and Unix and it works perfectly, but when I compile
the same code in Cygwin, it doesn`t send the data to the socket, I use the
dup() comand.
this is part of the program what, I repeat, works well in linux and unix
(sun, HP)
/*close the display exit and send it to the socket*/
close(1);
iError=dup(iDescSock);
if (iError==-1)
{
return(EEXECCOM);
}
sprintf(pcComando,"EjecutarComando_VB.ksh.%s",pcNombreAux);
iError=system(pcComando);
if (iError==-1)
{
fprintf(stderr,"Error en llamada a ejecutar");
return(EEXECCOM);
}
what have I to do this in cygwin and it works.
Thank you.
Fernando
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -