]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/setsid.c
2 * setsid.c -- execute a command in a new session
3 * Rick Sladkey <jrs@world.std.com>
4 * In the public domain.
6 * 1999-02-22 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
7 * - added Native Language Support
16 int main(int argc
, char *argv
[])
18 setlocale(LC_ALL
, "");
19 bindtextdomain(PACKAGE
, LOCALEDIR
);
23 fprintf(stderr
, _("usage: %s program [arg ...]\n"),
31 execvp(argv
[1], argv
+ 1);