Changeset 23404


Ignore:
Timestamp:
12/07/10 17:02:31 (11 years ago)
Author:
max
Message:

Magic one liner that stops the flash DOS CMD window problem!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/cgi-bin/metadata-server.pl

    r19293 r23404  
    1 #!/usr/bin/perl -w
     1#!C:\\Perl\\bin\\perl -w
    22# Need to specify the full path of Perl above
    3 
    43
    54use strict;
    65
     6BEGIN {
     7    # Line to stop annoying child DOS CMD windows from appearing
     8    Win32::SetChildShowWindow(0)
     9        if defined &Win32::SetChildShowWindow;
     10}
    711
    812# Set this to 1 to work around IIS 6 craziness
     
    3640    # Load the Greenstone modules that we need to use
    3741    $gsdl_cgi->setup_gsdl();
    38 
     42   
    3943    my $gsdlhome = $ENV{'GSDLHOME'};
    4044    $gsdl_cgi->checked_chdir($gsdlhome);
Note: See TracChangeset for help on using the changeset viewer.