pm3_console() in Python/Lua/C: replace passthru by capture and quiet
This commit is contained in:
1 parent
57ec287ab0
commit
de96479d80
16 files changed
+4341
-4193
No files matched your search
@@ -18,7 +18,7 @@ int main(int argc, char *argv[]) {
|
||||
p = pm3_open(argv[1]);
|
||||
|
||||
// Execute the command
|
||||
pm3_console(p, "hw status", false);
|
||||
pm3_console(p, "hw status", true, true);
|
||||
|
||||
const char *buf = pm3_grabbed_output_get(p);
|
||||
const char *line_start = buf;
|
||||
|
||||
Reference in new issue
Block a user