Changeset 3909
- Timestamp:
- Oct 24, 2014, 10:58:42 AM (10 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/libc-0.6/src/emx/src/lib/process/system.c ¶
r3859 r3909 1 1 /* $Id: b_processSetResourceLimit.c 3770 2012-03-15 20:02:46Z bird $ */ 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 -
TabularUnified 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.