C
Cameron
Hello All --
I am trying to launch a windows application either in the background
or with a minimized window using the following code:
my $job = Win32::Job->new;
$job->spawn(q{D:\Link32\Link32.exe}, q{Link32.exe}, {
stdout => 'output.txt',
stderr => 'error.txt',
window_attr => 'hidden'
});
The app is spawned successfully, but no matter how I try to redirect
stdout or set window_attr to hidden or minimized, it launches full screen.
Any thoughts or suggestions appreciated. I am not married to this module, so
if anyone has done this successfully in the past using something else, I'll
give it a try.
Thnx,
Cameron
I am trying to launch a windows application either in the background
or with a minimized window using the following code:
my $job = Win32::Job->new;
$job->spawn(q{D:\Link32\Link32.exe}, q{Link32.exe}, {
stdout => 'output.txt',
stderr => 'error.txt',
window_attr => 'hidden'
});
The app is spawned successfully, but no matter how I try to redirect
stdout or set window_attr to hidden or minimized, it launches full screen.
Any thoughts or suggestions appreciated. I am not married to this module, so
if anyone has done this successfully in the past using something else, I'll
give it a try.
Thnx,
Cameron