# Copyright 2008, 2020 Interchange Development Group and others # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. See the LICENSE file for details. UserTag child-process addAttr UserTag child-process HasEndTag UserTag child-process NoReparse 0 UserTag child-process Interpolate 0 UserTag child-process Version 1.4 UserTag child-process Documentation < Jon Jensen =cut EOD UserTag child-process Routine <{label} or $opt->{label} = 'child-process tag'; Vend::Server::set_process_name($opt->{label}); my $output = interpolate_html($body, 1); my $filename = $opt->{filename}; if (defined($filename) and length($filename)) { $filename = $Tag->filter('filesafe', $filename); my $status = $Tag->write_relative_file($filename, $$output); my $notifyname = $opt->{notifyname}; if ($status and defined($notifyname) and length($notifyname)) { $notifyname = $Tag->filter('filesafe', $notifyname); $Tag->write_relative_file($notifyname, $opt, ''); } } exit; } } EOR