summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-06 14:21:48 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-06 14:21:48 +0000
commitdc41de1e0e27f700525750493582bc6c24852152 (patch)
tree16c275c07948b35f57d38696a6f105eea8a08b3d /bin
parente932166de57f49ae73299615ad83df94f2f6c245 (diff)
downloadATCD-dc41de1e0e27f700525750493582bc6c24852152.tar.gz
Added the ID strings and gave an option to the NT implementation where
processes can keep the same window instead of creating a new window for each.
Diffstat (limited to 'bin')
-rw-r--r--bin/Process.pm1
-rw-r--r--bin/Process_Unix.pm1
-rw-r--r--bin/Process_Win32.pm9
3 files changed, 8 insertions, 3 deletions
diff --git a/bin/Process.pm b/bin/Process.pm
index 46deb2f572e..1ee7c686193 100644
--- a/bin/Process.pm
+++ b/bin/Process.pm
@@ -1,3 +1,4 @@
+# $id$
$inc = "Process_Unix.pm";
$DIR_SEPARATOR = "/";
diff --git a/bin/Process_Unix.pm b/bin/Process_Unix.pm
index 088a1cd7a53..6d8cb91b032 100644
--- a/bin/Process_Unix.pm
+++ b/bin/Process_Unix.pm
@@ -1,3 +1,4 @@
+# $id$
package Process;
$EXE_EXT = "";
diff --git a/bin/Process_Win32.pm b/bin/Process_Win32.pm
index 3e78a766819..941ff29d469 100644
--- a/bin/Process_Win32.pm
+++ b/bin/Process_Win32.pm
@@ -1,3 +1,4 @@
+# $id$
package Process;
use Win32::Process;
@@ -12,13 +13,15 @@ sub Create
my $args = shift;
my $self = [];
- if ($newwindow eq "no")
+ my $console = 0;
+
+ if ($newwindow eq "yes")
{
- my $console = 0;
+ $console = CREATE_NEW_CONSOLE;
}
else
{
- my $console = CREATE_NEW_CONSOLE;
+ $console = 0;
}
Win32::Process::Create ($self->[0], $name, $name." ".$args, 0,