 |
Changeset 3237
- Timestamp:
- 02/21/08 13:40:45
(10 months ago)
- Author:
- schveiguy
- Message:
Changed flag for creating process to CREATE_NO_WINDOW, which appears to have the best of both worlds (does not flash a console window, and allows redirection of stdout/err for batch files).
This flag isn't supported on Windows 95/98/Me, but I don't think that really matters much these days.
fixes #933
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3178 |
r3237 |
|
| 651 | 651 | // file) |
|---|
| 652 | 652 | if (CreateProcessA(null, command.ptr, null, null, true, |
|---|
| 653 | | 0, |
|---|
| | 653 | DETACHED_PROCESS, |
|---|
| 654 | 654 | (_env.length > 0 ? toNullEndedBuffer(_env).ptr : null), |
|---|
| 655 | 655 | toStringz(_workDir), &startup, _info)) |
|---|
| r3118 |
r3237 |
|
| 1443 | 1443 | CREATE_NEW_CONSOLE = (16), |
|---|
| 1444 | 1444 | CREATE_NEW_PROCESS_GROUP = (512), |
|---|
| | 1445 | CREATE_NO_WINDOW = (0x8000000), |
|---|
| 1445 | 1446 | CREATE_SEPARATE_WOW_VDM = (2048), |
|---|
| 1446 | 1447 | CREATE_SUSPENDED = (4), |
|---|
Download in other formats:
|
 |
 |
|
 |
Copyright © 2006-2008 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic