On 9/25/06, Mark Currie <mark@xxxxxxxxxxx> wrote:
Hi, I am trying to work out how to call an application (sx) from my serial comms app. Sx is an xmodem utility which uses stdio so you have to re-direct it to the comms port. I can talk to my target device through ttyS0 but now I want to call sx to take over sending a file to the target using xmodem. Do I have to use system() or is there another way ? Do I somehow have to pass it my active file descriptor for ttyS0? Mark Currie
Interesting concept of kernel you seem to have. You need to try a userspace list. But before you post at least read the man entries for fork(), dup(), and exec(). Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/