Results 1 to 1 of 1
Related
-
Need help coding a redirect Page which also passes dynamic parameters Forum: HTML Forum
Replies: 0 -
How to open Windows command window from php? Forum: PHP Forum
Replies: 4 -
unknown error code using system() command from web server Forum: CGI Perl Forum
Replies: 1 -
Unix command output displayed 0 in browser Forum: CGI Perl Forum
Replies: 0 -
Hover command on a td Forum: CSS Forum
Replies: 3
-
01-07-2007, 01:37 PM #1
Using system, su, and a command with parameters...
Hey,
This problem is embarrasing... but I can't figure out how to solve it.
I am trying to run the following command:
system("su - '$namee' -c vncserver -httpport '$java_port_num' -rfbport '$rfb_port_num' ")
vncserver is just a command that requires those certain parameters (they are defined previously in the program. The problem is, su instead of vncserver is accepting the parameters... and if I try to move the quotes or add new ones to show that the parameters belong to vncserver, I obviously get syntax errors... any ideas?
Thanks,
Ben
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum