Re: Can't ping (problem with [shell]) SOLVED

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68242
interpreted = N
texte = Dennis J. Bonsall, Jr. wrote: > It appears that I have to have the path to ping in order for it to > work. Not sure why, since I thought ping was a global command, but the > below change to the code works: It is good policy for web apps to use a very limited $PATH when executing subshells, so you should make a habit of always including the full path to any executables in a [shell] context. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Can't ping (problem with [shell]) SOLVED ( John Peacock 2006)
  2. Re: Can't ping (problem with [shell]) SOLVED ( "Dennis J. Bonsall, Jr." 2006)
Dennis J. Bonsall, Jr. wrote: > It appears that I have to have the path to ping in order for it to > work. Not sure why, since I thought ping was a global command, but the > below change to the code works: It is good policy for web apps to use a very limited $PATH when executing subshells, so you should make a habit of always including the full path to any executables in a [shell] context. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Re1000001: Setting up shop (1997) Some Questions (1997) [CART] inside a [LOOP] (1997) Heads up: WebCatalog 4 drops MacTCP, 68K (2000) OT: ASP Developer (1999) Secure Web Server (1999) re: Large Database Options? (1999) Formating found categories (1997) Error.html (1997) WebStar WebCat Crashing a lot (2004) Admin Edit prob. (1997) Multiple SSL Keys (1998) Fuck you (1998) Emailer file formats (1998) ShowNext Command (1997) Cart Question (1998) READFILE command? (1998) FREE Stuff .. (2003) [item] appears after 'remove last item' ... (1997) Help with dates (2001)