Hallo beginners-cgi,

  i want to execute a bash-script from a perl-cgi-script.

  if a special perl-script is executed in my cgi-bin, i want to
  receive a winpopup-message on my workstation.
  
  i tried this with exec(), but the parameter $popup worries my apache ,-)
  if i call the script from the commandline, the popup-message is
  sent. why not from my perl-cgi-script?

  here i go ;-)
  
  ==== perl-script ===

  ...
  $popup = "Sample popup-message";
  exec ('/usr/local/myperl/smb-popup',$popup);
  ...
  
  === perl-script ===

  === smb-popup ===
  #!/bin/bash

  echo "$1" | smbclient -M testhost -U myserver
  === smb-popup ===
  

-- 

MfG...
      ...Olav

FidoNet: 2:240/5138



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to