This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new 859d7f3fad fixed a bug of cloud groovy script to get the correct job 
pid
859d7f3fad is described below

commit 859d7f3fad23bda0c62b32515ec241e7183a3f22
Author: lahiruj <[email protected]>
AuthorDate: Fri Jul 25 16:39:02 2025 -0400

    fixed a bug of cloud groovy script to get the correct job pid
---
 airavata-api/src/main/resources/templates/CLOUD_Groovy.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airavata-api/src/main/resources/templates/CLOUD_Groovy.template 
b/airavata-api/src/main/resources/templates/CLOUD_Groovy.template
index c06dba149d..c12018a8e2 100644
--- a/airavata-api/src/main/resources/templates/CLOUD_Groovy.template
+++ b/airavata-api/src/main/resources/templates/CLOUD_Groovy.template
@@ -13,7 +13,7 @@
     if (executablePath != null && executablePath != "") out.print  
executablePath + ' '
     if (inputs != null) for(input in inputs) out.print input + ' '
     out.print '&\n'
-    out.print 'MAIN_JOB_PID=\\$!\n'
+    out.print 'MAIN_JOB_PID=$!\n'
 %>
 
 (

Reply via email to