| 1397 | |
| 1398 | |
| 1399 | int SimCmdOpenWebBrowser(ARGS) |
| 1400 | { |
| 1401 | int result = 1; |
| 1402 | char buf[512]; |
| 1403 | |
| 1404 | if ((argc != 3) || |
| 1405 | (strlen(argv[2]) > 255)) { |
| 1406 | return (TCL_ERROR); |
| 1407 | } |
| 1408 | |
| 1409 | sprintf(buf, |
| 1410 | "netscape -no-about-splash '%s' &", |
| 1411 | argv[2]); |
| 1412 | |
| 1413 | result = system(buf); |
| 1414 | |
| 1415 | sprintf(interp->result, "%d", result); |
| 1416 | |
| 1417 | return (TCL_OK); |
| 1418 | } |
| 1419 | |
| 1420 | |
| 1421 | int SimCmdQuoteURL(ARGS) |
nothing calls this directly
no outgoing calls
no test coverage detected