Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
尝试在linux中使用系统(“firefox longURL”)访问长url_Url_Firefox_Terminal_Command Line Arguments - Fatal编程技术网

尝试在linux中使用系统(“firefox longURL”)访问长url

尝试在linux中使用系统(“firefox longURL”)访问长url,url,firefox,terminal,command-line-arguments,Url,Firefox,Terminal,Command Line Arguments,每次我尝试使用系统函数和一个长url打开firefox时,地址栏中只会出现一部分url。比如说, system("firefox www.yellowpages.com/whitepages/address?street=1234+12th+St.&zip=1234&state=AB"); 只将URL的一部分放入地址栏。execvp函数工作正常,因此我将使用它

每次我尝试使用系统函数和一个长url打开firefox时,地址栏中只会出现一部分url。比如说,

system("firefox www.yellowpages.com/whitepages/address?street=1234+12th+St.&zip=1234&state=AB"); 

只将URL的一部分放入地址栏。

execvp函数工作正常,因此我将使用它