diff options
author | james <> | 2008-03-12 01:26:56 +0000 |
---|---|---|
committer | james <> | 2008-03-12 01:26:56 +0000 |
commit | 5bffe5e4528e109b346f6dd9128176df912ff4e8 (patch) | |
tree | fbb540382bf96d58ae2af92667eef26e38a5ad93 /src/ptty.c | |
parent | 202cc4119ab0006fee4453bad4297f45acf41b92 (diff) | |
download | sympathy-5bffe5e4528e109b346f6dd9128176df912ff4e8.tar.gz sympathy-5bffe5e4528e109b346f6dd9128176df912ff4e8.tar.bz2 sympathy-5bffe5e4528e109b346f6dd9128176df912ff4e8.zip |
*** empty log message ***
Diffstat (limited to 'src/ptty.c')
-rw-r--r-- | src/ptty.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.22 2008/03/12 01:26:56 james + * *** empty log message *** + * * Revision 1.21 2008/03/10 11:49:33 james * *** empty log message *** * @@ -192,7 +195,11 @@ ptty_open (char *path, char *argv[], CRT_Pos * size) if (!argv) argv = default_argv; - execv (path, argv); + if (path[0]=='/') + execv (path, argv); + else + execvp (path, argv); + _exit (-1); } |