Invalid Character in processd.pl script causes failure

Document ID : KB000123030
Last Modified Date : 14/12/2018
Show Technical Document Details
Issue:
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.

 
Additional Information:
Windows
Spectrum 10.3