exec() gives output??

From: Experienced but Undocumented (e02_at_removethis.toao.net)
Date: 10/25/03


Date: Sat, 25 Oct 2003 17:36:40 GMT

Hi
I'd like to execute a command on the server from a PERL script. This
particular command takes a long time to execute, so I would not like the
PERL script to wait for a response. I was under the impression that exec()
would do the trick, but it doesn't...it seems to work the same as system().
Any suggestions?
Thanks!



Relevant Pages

  • Re: IIS 6.0 on Windows Server 2003
    ... If PHP insists on using CMD.EXE to execute the shellcommand on the ... server, then no, you have no choice -- you must give read permissions to the ... this would be a security vulnerability caused by PHP. ...
    (microsoft.public.inetserver.misc)
  • Re: Error running sql command
    ... If the commands are in a table on the server, I would create strings on the server and use SQL EXECUTE to execute them... ... I fetch a command from a table, process it and if command executes successfully I delete it form the queue. ... The basic problem with your code is that you are not using SQL Server as it should be used. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: grant permission question
    ... returned until the command shell command completes. ... When you grant execute permissions to users, ... only members of the sysadmin fixed server ... SQL Server Agent proxy account, ...
    (microsoft.public.sqlserver.programming)
  • Re: Executing a PERL script from ASP.NET appl.
    ... I believe the VB "Shell" command is just a wrapper around Process.Start. ... any case if the target EXE has a problem with the command line format (the ... >> If you can execute the command interpreter then you should be able to run>> the Perl one as well, though maybe the issue is quotes around the ... >> I'd recommend the latter if your Perl script can run under IIS. ...
    (microsoft.public.dotnet.general)
  • Re: netsh problem
    ... First get connected to the remote machine using the following command: ... This will get you to the netsh context on the remote server. ... If you want to do it within your automation and execute it on the remote ...
    (microsoft.public.windows.server.networking)