Project

General

Profile

Actions

Task #10003

closed

Solve the issue of Windows line terminators in shell scripts

Added by Gianpaolo Coro over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
High-Throughput-Computing
Target version:
Start date:
Oct 20, 2017
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

Shell scripts written through SAI-PreinstalledSoftware with the online editor GUI, contain M line terminators that prevent the scripts to run correctly.

Actions #1

Updated by Gianpaolo Coro over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This issue has been solved with a workaround in the R wrapper that executes the shell script. It has been already deployed, since the wrapper is based on a template R file that resides on SVN.

However, may be the M are indeed added by some transformation made by the Workspace service during the creation of the zip file containing the software to execute. Perhaps there is some encoding or transformation for shell scripts as there was for Windows-compiled processes. @costantino.perciante@isti.cnr.it could you give it a look when possible, please?
@scarponi@isti.cnr.it could you please alert Denis Williams about this fix?

Actions #2

Updated by Paolo Scarponi over 7 years ago

I have notified him, thanks Gianpaolo.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)