Invalid Character in processd.pl script causes failure
book
Article ID: 123030
calendar_today
Updated On:
Products
Spectrum
Issue/Introduction
When attempting to run process.pl restart an Unrecognized character \x0F is received
Trying to "restart" the processd process by issuing the following command:
$ . /processd.pl restart
When the above command is run this error is received:
Unrecognized character \x0F; marked by <-- HERE after my $os = $<-- HERE near column 11 at ./processd.pl line 13.
Environment
Spectrum 10.3
Windows
Cause
Issue in the $SPECROOT/lib/SDPM/processd.pl script
Resolution
Out of the box line 13 of the $SPECROOT/lib/SDPM/processd.pl appears as follows when editing the file:
my $os = $^O;
To resolve this issue simply open a bash shell and remove the $^O; and manually re-enter the $^O: where the O is a capital O and not the number 0.
Once the original entry has been removed and replaced save the changes in the processd.pl. Then attempt to reissue the processd.pl command.
The error should no longer be encountered.
Feedback
thumb_up
Yes
thumb_down
No