IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2005, 5:00:47 PM (21 years ago)
Author:
eugene
Message:

pcontrol dev work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/StartHost.c

    r3203 r3204  
    55  int pid;
    66  int stdio[3];
     7  char command[64], shell[64];
    78
    89  /* pid = rconnect (CONNECT, host[0].hostname, PCLIENT, stdio); */
    910
    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);
    1115  if (!pid) {     /** failure to start **/
    1216    fprintf (stderr, "failure to start %s\n", host[0].hostname);
Note: See TracChangeset for help on using the changeset viewer.