bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

top and parted in ncurses


From: Kolesar
Subject: top and parted in ncurses
Date: Fri, 14 Aug 2009 00:22:07 -0700 (PDT)

Hi all

I need start top and/or parted from ncurses (c code), but i do not how
:confused:

I'm try as:
char cmd[50] = "top";
...
pid = fork();
...
execlp("/bin/sh","/bin/sh","-c",cmd,(const char*)0);
...

Anybody who know?

Thanks in advance.
Kolesar
-- 
View this message in context: 
http://www.nabble.com/top-and-parted-in-ncurses-tp24967361p24967361.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]