Subversion Repositories DevTools

Rev

Rev 227 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 255
Line 2245... Line 2245...
2245
                        continue;
2245
                        continue;
2246
                    }
2246
                    }
2247
 
2247
 
2248
                    S_close (fp, TRUE);
2248
                    S_close (fp, TRUE);
2249
 
2249
 
2250
                    if (FL_TEST(FLAG_DEBUG_EXECUTE))
2250
                    if (FL_TEST(FLAG_DEBUG_EXECUTE) || (debug_level & DEBUG_SHOW_ARGS))
2251
                         fprintf (stderr, " Match: script %s\n", FullPath);
2251
                         fprintf (stderr, " Match: script %s\n", FullPath);
2252
 
2252
 
2253
                    return (xp == (char *)NULL) ? null : xp;
2253
                    return (xp == (char *)NULL) ? null : xp;
2254
                }
2254
                }
2255
 
2255
 
2256
                if (FL_TEST(FLAG_DEBUG_EXECUTE))
2256
                if (FL_TEST(FLAG_DEBUG_EXECUTE) || (debug_level & DEBUG_SHOW_ARGS))
2257
                    fprintf (stderr, " Match: binary %s\n", FullPath);
2257
                    fprintf (stderr, " Match: binary %s\n", FullPath);
2258
 
2258
 
2259
                return xp;
2259
                return xp;
2260
            }
2260
            }
2261
        }
2261
        }
Line 2432... Line 2432...
2432
 
2432
 
2433
/* Check for special case.  If there are any special characters and we can
2433
/* Check for special case.  If there are any special characters and we can
2434
 * use UNIX mode, use it
2434
 * use UNIX mode, use it
2435
 */
2435
 */
2436
 
2436
 
2437
    if (FL_TEST(FLAG_DEBUG_EXECUTE))
2437
    if (FL_TEST(FLAG_DEBUG_EXECUTE) || (debug_level & DEBUG_SHOW_ARGS))
2438
    {
2438
    {
2439
        fprintf (stderr, " Mode: ");
2439
        fprintf (stderr, " Mode: ");
2440
        PrintProgramMode (&ExecProcessingMode);
2440
        PrintProgramMode (&ExecProcessingMode);
2441
 
2441
 
2442
        fprintf (stderr, " args: Raw dump ...\n");
2442
        fprintf (stderr, " args: Raw dump ...\n");
Line 3115... Line 3115...
3115
        ReleaseMemoryCell (Name);
3115
        ReleaseMemoryCell (Name);
3116
    }
3116
    }
3117
 
3117
 
3118
/* Exec it - with hard-error processing turned off */
3118
/* Exec it - with hard-error processing turned off */
3119
 
3119
 
3120
    if (FL_TEST(FLAG_DEBUG_EXECUTE))
3120
    if (FL_TEST(FLAG_DEBUG_EXECUTE) || (debug_level & DEBUG_CREATE_PROCESS) )
3121
        fprintf (stderr, "CreateProcess(%s,%s)\n", Program, PgmInputs);
3121
        fprintf (stderr, "CreateProcess(%s,%s)\n", Program, PgmInputs);
3122
 
3122
 
3123
    DISABLE_HARD_ERRORS;
3123
    DISABLE_HARD_ERRORS;
3124
    rv = CreateProcess (
3124
    rv = CreateProcess (
3125
                Program, PgmInputs, NULL, NULL, TRUE,
3125
                Program, PgmInputs, NULL, NULL, TRUE,