From mboxrd@z Thu Jan 1 00:00:00 1970 From: ework0 Subject: exec question Date: Thu, 03 Nov 2005 23:09:04 -0600 Message-ID: <436AECF0.5090109@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-c-programming@vger.kernel.org Hello, How can I execute a program (without the full path, just the name) using exec's system calls within a C program? ej: buf[]={"uname",NULL}; Thanks for a brief example, ework0