- Timestamp:
- Oct 24, 2014, 10:58:42 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/libc/process/system.c
r3881 r3909 1 1 /* $Id$ */ 2 2 /** @file 3 * kNIX - get default shell for system() and popen().3 * kNIX - system(). 4 4 * 5 5 * @copyright Copyright (C) 2014 knut st. osmundsen <bird-klibc-spam-xiv@anduin.net> … … 35 35 if (pszCmdLine == 0) 36 36 rc = access(szShell, F_OK) == 0; 37 else if ( *pszCmdLine)37 else if (!*pszCmdLine) /* EMX speciality? */ 38 38 rc = spawnlp(P_WAIT, szShell, &szShell[offShellArg], (void *)NULL); 39 39 else
Note:
See TracChangeset
for help on using the changeset viewer.