in reply to open2 with windows diskpart
The problem is (almost certainly) that diskpart does direct console IO, rather than file IO to STDOUT. I haven't yet found a workaround for this.
In theory, it should be possible to write an IPC::Open2-alike that uses Win32::Console (or better, the APIs that underlie that module), that would work regardless of the type of IO the child process uses.
The reality is that it is rather harder to do than it should be.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: open2 with windows diskpart
by wxfield (Novice) on Jun 17, 2009 at 00:42 UTC |