Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syscall function unimplemented on windows

Status
Not open for further replies.

blakmk

Programmer
Feb 12, 2003
17
GB
Im trying to write some perl scripts for windows using the activestate documentation. I would have liked to use the syscall function to kick off some batch scripts but according to the activestate docco the syscall is unimplemented for this platform.

Does anyone know of a workaround for starting external scripts.

Thanks in advance
 
Lots of options available:

system("cmd.exe"); #starts programs without waiting for them to finish before starting the next
exec("cmd.exe"); #terminates current program before starting the new one
$result = `cmd.exe`; #routes the result of STDOUT to the variable $result

There are also a whole series of modules available for starting, stopping, and controlling programs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top