Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您能否指导我在这里做错了什么...该脚本仅在参数中的第一个空格之前获取值。
SENDING_MAIL_LISTENER=$PYTHON" ./rajesh/script.py -s "$SUBJECT_LISTENER" -p "$BODY_LISTENER" -r "$CONTACT_NAME
您应该转义那些双引号:
SENDING_MAIL_LISTENER="$PYTHON ./rajesh/script.py -s \"$SUBJECT_LISTENER\" -p \"$BODY_LISTENER\" -r \"$CONTACT_NAME\""