rickchengx commented on PR #13930:
URL: 
https://github.com/apache/dolphinscheduler/pull/13930#issuecomment-1510792992

   > > I think we should keep the '' "" `` in the user command. These symbols 
have special effects in bash.
   > > E.g., if the command is
   > > ```
   > > echo `ls`
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > User wants to see the results of the command `ls` rather than the word 
`ls`
   > 
   > Hi, @rickchengx , i think one possible solution is to set command bin/sh 
-c, and set args echo `ls`, however, we don't support args setting now, i can 
submit another pr about it, WDYT?
   
   I think its better to fix this k8s command related stuff in this PR.
   
   Technically, we don't want to make any changes to the user's command, we 
should keep the quotes of the user command.
   E.g.
   
   ```
   echo `ls`
   echo "${var}"
   perl -Mbignum=bpi -wle 'print bpi(2000)'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to