Changeset 7747 for trunk/tools
- Timestamp:
- Jan 9, 2002, 1:29:57 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/CmdQd/CmdQd.c
r7594 r7747 1 /* $Id: CmdQd.c,v 1.1 2 2001-12-09 16:11:13bird Exp $1 /* $Id: CmdQd.c,v 1.13 2002-01-09 00:29:57 bird Exp $ 2 2 * 3 3 * Command Queue Daemon / Client. … … 1573 1573 DosReleaseMutexSem(hmtxExec); 1574 1574 pJobOutput->cchOutput += sprintf(&pJobOutput->szOutput[pJobOutput->cchOutput ], 1575 "Failed to set current directory to: %s \n",1576 pJob->JobInfo.szCurrentDir );1575 "Failed to set current directory to: %s (rc=%d)\n", 1576 pJob->JobInfo.szCurrentDir, rc); 1577 1577 pJob->rc = -1; 1578 1578 DosClose(hPipeR); … … 1667 1667 */ 1668 1668 if ( strchr(pszCommand, '&') 1669 || strchr(pszCommand, '|')) 1669 || strchr(pszCommand, '|') 1670 || strchr(pszCommand, '@')) 1670 1671 { 1671 1672 strcpy(pszArg, "cmd.exe"); /* doesn't use comspec, just defaults to cmd.exe in all cases. */ … … 1725 1726 { /* relative path - expand it and check for file existence */ 1726 1727 fileNormalize(pszArg, pszCurDir); 1728 pszCurDir[strlen(pszCurDir)-1] = '\0'; /* remove slash */ 1727 1729 rc = fileExist(pszArg); 1728 1730 }
Note:
See TracChangeset
for help on using the changeset viewer.