Welcome! Log In Create A New Profile


Perl wrapping script not running from Slic3r

Posted by plsmtrtl 
Perl wrapping script not running from Slic3r
June 15, 2017 07:41AM
I have written a script to do the things I need done to the output gcode file, but it did not fully run from Slic3r, so I figured I would just write a wrapper script to take care of it, since it worked when I ran it from CMD. The wrapper script I wrote also runs from CMD but not Slic3r, and I am very confused why things are not working.

Here is the (very Basic) wrapper script. I am new to Perl and have not written one before, so please feel free to help wherever possible. Also, I am doing this on Windows 7.

use strict;
use warnings;
my $line = $ARGV[0];
my $command = `perl PostProcessingParser.pl $line`;

Edited 1 time(s). Last edit at 06/15/2017 10:41AM by plsmtrtl.
Sorry, only registered users may post in this forum.

Click here to login