diff options
Diffstat (limited to 'bin/Process_Win32.pm')
-rw-r--r-- | bin/Process_Win32.pm | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/bin/Process_Win32.pm b/bin/Process_Win32.pm deleted file mode 100644 index 3e78a766819..00000000000 --- a/bin/Process_Win32.pm +++ /dev/null @@ -1,41 +0,0 @@ -package Process; - -use Win32::Process; - -$EXE_EXT = ".exe"; - -$newwindow = "yes"; - -sub Create -{ - my $name = shift; - my $args = shift; - my $self = []; - - if ($newwindow eq "no") - { - my $console = 0; - } - else - { - my $console = CREATE_NEW_CONSOLE; - } - - Win32::Process::Create ($self->[0], $name, $name." ".$args, 0, - $console, "."); - bless $self; -} - -sub Kill -{ - my $self = shift; - Win32::Process::Kill ($self->[0], -1); -} - -sub Wait -{ - my $self = shift; - Win32::Process::Wait ($self->[0], INFINITE); -} - -1;
\ No newline at end of file |