 |
Changeset 3178
- Timestamp:
- 02/13/08 10:07:57
(10 months ago)
- Author:
- schveiguy
- Message:
Removed DETACHED_PROCESS from the Windows version to allow redirection of standard handles when running a batch file.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2933 |
r3178 |
|
| 645 | 645 | // Convert the working directory to a null-ended string if |
|---|
| 646 | 646 | // necessary. |
|---|
| | 647 | // |
|---|
| | 648 | // Note, this used to contain DETACHED_PROCESS, but |
|---|
| | 649 | // this causes problems with redirection if the program being |
|---|
| | 650 | // started decides to allocate a console (i.e. if you run a batch |
|---|
| | 651 | // file) |
|---|
| 647 | 652 | if (CreateProcessA(null, command.ptr, null, null, true, |
|---|
| 648 | | DETACHED_PROCESS, |
|---|
| | 653 | 0, |
|---|
| 649 | 654 | (_env.length > 0 ? toNullEndedBuffer(_env).ptr : null), |
|---|
| 650 | 655 | toStringz(_workDir), &startup, _info)) |
|---|
Download in other formats:
|
 |
 |
|
 |
Copyright © 2006-2008 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic