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:

WebCat2b13 Command Reference Doc error (1997) template not found error (1998) send mail problem? (1997) WebCat hosting providers? (1997) IP Shows Server (2003) WebDNA 6.0 Report (2004) anyone know how to set header for XML/RSS files? (2008) Multiple prices (1997) Searching by Date Comparison (2000) Advice on MacOS & TCP Connects (2000) Max Record length (1997) Robert Minor duplicate mail (1997) RE: [WebDNA] Talklist Archive & Twitter (2009) Many $WebCat.exe processes (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) WebCat2b15MacPlugin - [protect] (1997) redirect from the errorsMessages.db entry (1997) [ShowIf] if the varieable exists (1998) Erotic Sites (1997) WebMerchant/MacAuthorize (1998)