Re: popen() to execute\read a Linux (not windows) command

2005-11-26 Thread Eric Pouech
Boaz Harrosh wrote: Eric Pouech wrote: Boaz Harrosh wrote: Such a program could also be useful for a Native app that needs to run a Linux application. we should even try to integrate it to popen in builtin msvcrt A+ What do you mean? with a check for a special app_name. Or an

Re: popen() to execute\read a Linux (not windows) command

2005-11-24 Thread Sergio
Eric Pouech wrote: Boaz Harrosh wrote: Sergio wrote: I see. But I need to link to msvcrt for the rest of the functions in the dll I am trying to make. I only need popen to be linked using linux' libraries. Do you know what I can do to have both things (standard popen and wine's

Re: popen() to execute\read a Linux (not windows) command

2005-11-24 Thread Boaz Harrosh
Eric Pouech wrote: Boaz Harrosh wrote: Such a program could also be useful for a Native app that needs to run a Linux application. we should even try to integrate it to popen in builtin msvcrt A+ What do you mean? with a check for a special app_name. Or an auto-detection of the binary

Re: popen() to execute\read a Linux (not windows) command

2005-11-23 Thread Sergio
Rob Shearman wrote: Sergio Tridente wrote: Sergio wrote: Hi, From a win32 program compiled with winelib I am trying to execute the following: FILE *program; if (program = popen(dcop amarok player nowPlaying, r)) fgets(buff, sizeof(buff), program); The idea is to read the current

Re: popen() to execute\read a Linux (not windows) command

2005-11-23 Thread Boaz Harrosh
Sergio wrote: I see. But I need to link to msvcrt for the rest of the functions in the dll I am trying to make. I only need popen to be linked using linux' libraries. Do you know what I can do to have both things (standard popen and wine's libraries for the rest of the dll)? A second dll

Re: popen() to execute\read a Linux (not windows) command

2005-11-23 Thread Eric Pouech
Boaz Harrosh wrote: Sergio wrote: I see. But I need to link to msvcrt for the rest of the functions in the dll I am trying to make. I only need popen to be linked using linux' libraries. Do you know what I can do to have both things (standard popen and wine's libraries for the rest of the

Re: popen() to execute\read a Linux (not windows) command

2005-11-22 Thread Sergio Tridente
Sergio wrote: Hi, From a win32 program compiled with winelib I am trying to execute the following: FILE *program; if (program = popen(dcop amarok player nowPlaying, r)) fgets(buff, sizeof(buff), program); The idea is to read the current track amarok's playing. But I keep

Re: popen() to execute\read a Linux (not windows) command

2005-11-22 Thread Rob Shearman
Sergio Tridente wrote: Sergio wrote: Hi, From a win32 program compiled with winelib I am trying to execute the following: FILE *program; if (program = popen(dcop amarok player nowPlaying, r)) fgets(buff, sizeof(buff), program); The idea is to read the current track amarok's playing.

popen() to execute\read a Linux (not windows) command

2005-11-20 Thread Sergio
Hi, From a win32 program compiled with winelib I am trying to execute the following: FILE *program; if (program = popen(dcop amarok player nowPlaying, r)) fgets(buff, sizeof(buff), program); The idea is to read the current track amarok's playing. But I keep receiving the following text: