Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2022 01:33:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232950] execle in FreeBSD work differ than execle in Linux ?
Message-ID:  <bug-232950-227-2t3zNfpRH6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232950-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232950

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org
          Component|gnu                         |misc

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
>From the man page,

     int
     execle(const char *path, const char *arg, ..., NULL, char *const envp[]);

A simple example like

execle("/bin/echo", "echo", "test", NULL, environ);

works as expected (echoes test).

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232950-227-2t3zNfpRH6>