take python read out

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent 53f0c5a985
commit 2a81c4d4a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1184,13 +1184,13 @@ else {
int count1; int count1;
char * token; char * token;
// char cmdbuffer[1000]; // char cmdbuffer[1000];
/**/ /*
// FILE * file = popen(pythonStr, "r"); // FILE * file = popen(pythonStr, "r");
fputc('\n', file1); fputc('\n', file1);
fgets(cmdbuffer, 1000, file1); fgets(cmdbuffer, 1000, file1);
// printf("Python read Result: %s\n", cmdbuffer); // printf("Python read Result: %s\n", cmdbuffer);
// pclose(file); // pclose(file);
/**/ */
const char space[2] = " "; const char space[2] = " ";
token = strtok(cmdbuffer, space); token = strtok(cmdbuffer, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.