escape a string in execSync nodejs

后端 未结 0 489
北海茫月
北海茫月 2021-01-07 05:39

In a nodejs application i have the following command to find the IP of a docker container:

docker inspect -f \'{{range.NetworkSettings.Networks}}{{.IPAddress}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题