Skip to main content
Participant
June 20, 2007
Question

CFEXECUTE

  • June 20, 2007
  • 4 replies
  • 504 views
I am facing problem trying to run calc.exe using cfexecute tag .
its starts process in background but never starts application( we can see the process running in TaskManager but cant see application).
Please guide me how to resolve this prob.

Thanks
This topic has been closed for replies.

4 replies

Inspiring
June 20, 2007
> I tried to run cmd.exe and facing the same problem with it.
> actaually i want to run a java application on sever .

And it's a *command line* Java application? Does it not have an API?

What happens when you go:

<cfexecute name="/path/to/java.exe" arguments="/path/to/your/app other args
here">

Bear in mind that the system a/c that CF uses bt default has very few
permissions, so you might need to check it can see the various files needed
to execute the app.

--
Adam
Inspiring
June 20, 2007
user4cfm wrote:
> I am facing problem trying to run calc.exe using cfexecute tag .
> its starts process in background but never starts application( we can see the
> process running in TaskManager but cant see application).

well you won't get far w/GUI apps or ones that expect input from the console.
user4cfmAuthor
Participant
June 20, 2007
I tried to run cmd.exe and facing the same problem with it.
actaually i want to run a java application on sever .

Now can you help me out .

Thanks
Inspiring
June 20, 2007
WHY would you be wanting to start WIndows Calculator on the CF server? It
makes no sense: it's a desktop application, not a server application.

What are you trying to achieve?

--
Adam