The Proc_open command contains a "small problem

Source: Internet
Author: User

Resource Proc_open (  string $cmd  ,  Array $descriptorspec  ,  Array &$pipes  [,  string $cwd  [,  Array $env  [,  Array $other_options  ]]] )

In a Windows environment, if CMD is the full path, the use of "" is included, and subsequent arguments contain "" parameters, then the parse command fails. such as $cmd = "C:\Program files\scutech\scutech Common component\scutech-mysql5.1\bin\mysqldump"--protocol=tcp-- port=3333--user=root--add-drop-database--add-drop-table--single-transaction--hex-blob--quick--max_allowed_ packet=4g--routines--verbose "test test" appears prompting for execution of a command error does not exist

This article is from the "Bao Notes" blog, please be sure to keep this source http://yebaoshan.blog.51cto.com/9954062/1616715

The Proc_open command contains a "small problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.