Changeset 3204 for trunk/Ohana/src/opihi/pcontrol/StartHost.c
- Timestamp:
- Feb 12, 2005, 5:00:47 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c
r3203 r3204 5 5 int pid; 6 6 int stdio[3]; 7 char command[64], shell[64]; 7 8 8 9 /* pid = rconnect (CONNECT, host[0].hostname, PCLIENT, stdio); */ 9 10 10 pid = rconnect ("ssh", host[0].hostname, "pclient", stdio); 11 strcpy (command, "ssh"); 12 strcpy (shell, "pclient"); 13 14 pid = rconnect (command, host[0].hostname, shell, stdio); 11 15 if (!pid) { /** failure to start **/ 12 16 fprintf (stderr, "failure to start %s\n", host[0].hostname);
Note:
See TracChangeset
for help on using the changeset viewer.
