diff options
| author | fukachan <fukachan> | 2001-02-17 01:54:41 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-17 01:54:41 +0000 |
| commit | 002c71fc49bfde32ae79cca411977e443ea0ade8 (patch) | |
| tree | b8e92298fc76092a4e30522c2883db7d8c97e03f /fml/lib/FML/Process/Configure.pm | |
| parent | 547557807b0485c5e387109cdf185fba30e18ead (diff) | |
| download | fml8-002c71fc49bfde32ae79cca411977e443ea0ade8.tar.gz fml8-002c71fc49bfde32ae79cca411977e443ea0ade8.tar.bz2 fml8-002c71fc49bfde32ae79cca411977e443ea0ade8.zip | |
"fmldoc" preliminary definition
Diffstat (limited to 'fml/lib/FML/Process/Configure.pm')
| -rw-r--r-- | fml/lib/FML/Process/Configure.pm | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Configure.pm b/fml/lib/FML/Process/Configure.pm index 60a6486b..0101cd8d 100644 --- a/fml/lib/FML/Process/Configure.pm +++ b/fml/lib/FML/Process/Configure.pm @@ -40,14 +40,27 @@ sub prepare sub run { my ($curproc, $args) = @_; + my $config = $curproc->{ config }; + my $myname = $args->{ myname }; + my $argv = $args->{ ARGV }; + my $command = $argv->[ 0 ] || croak("command not specified\n"); - # use Data::Dumper; print Dumper( $args ); sleep 30; + # XXX debug + # use Data::Dumper; print Dumper( $args ); sleep 3; - $curproc->lock(); - { + if ($myname eq 'fmlconf') { $curproc->_show_conf($args); } - $curproc->unlock(); + elsif ($myname eq 'fmldoc') { + exec 'perldoc', @$argv; + } + else { + $curproc->lock(); + { + ; + } + $curproc->unlock(); + } } |
