! method doesnot maintain newline in Scala
===

I need to execute script using scala. when i execute Seq using ! the String after new line is lost. That is "Here is the" string gets updated to Jira and the other part of string after new line is lost. As i understand this is due ! not maintaining new line. Can anyone suggest how can i solve this ? See the code below.



val fileContent: String = """ Here is the 

text with 
 
new line """
 
Seq("/opt/atlassian-cli-2.6.0/atlassian.sh", "jira", "--action", "updateIssue", "--issue", "JIRA-2",  "--field", "customfield_10664" ,"--values", fileContent).! 