Changeset 2339 for trunk/packages/vizservers/nanoscale/server.c
- Timestamp:
- Aug 9, 2011, 8:10:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanoscale/server.c
r2336 r2339 1 1 2 #include <stdio.h> 2 3 #include <unistd.h> … … 534 535 int fd; 535 536 536 dup2(i, 0); 537 dup2(i, 1); 538 dup2(i, 2); 537 dup2(i, 0); // stdin 538 dup2(i, 1); // stdout 539 dup2(i, 2); // stderr 539 540 dup2(pair[1],3); 540 541 // read end of pipe moved, and left open to … … 548 549 displayVar[11] = dispNum + '0'; 549 550 } 551 fprintf(stderr, "command=%s\n", 552 command_argv[n][0]); 550 553 if (execvp(command_argv[n][0], command_argv[n]) < 1) { 551 554 extern int errno;
Note: See TracChangeset
for help on using the changeset viewer.