Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8264655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:32:03+00:00 2026-06-08T04:32:03+00:00

I am running a variety of processes on a Windows server ( a mix

  • 0

I am running a variety of processes on a Windows server ( a mix of batch files, java, perl, csharp scripts/applications). These processes are launched using Autosys. The autosys agent on Windows always prefixes the command I provide in the job definition with ‘cmd /c’ (see example below)

C:\Windows\system32\cmd.exe /C foobar.exe

This by itself is not a problem, but when I try to kill job by sending an autosys KILLJOB event (that as per Autosys documentation sends a interrupt followed by kill signal to the process), the foobar.exe is not killed, it is the parent cmd.exe that gets killed. foobar.exe ends up as an orphan process and we need to then login to the server to terminate it using Task manager manually.

Does anyone have any solution so that the terminate signals from autosys propagate to the actual process ?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:32:04+00:00Added an answer on June 8, 2026 at 4:32 am

    That is a known bug when dealing with Windows Autosys jobs. This is from the Autosys R11 Reference manual. I have never tried using this fix. Good Luck.

    Will the foobar.exe run without using the cmd.exe? I would try that and see if the KILLJOB event works properly.

    Windows does not support the concept of process groups. When you issue a KILLJOB event for a job that runs an executable (.exe), KILLJOB kills the process specified in the command definition. When you issue a KILLJOB event for a job that runs something other than an *.exe (for example, *.bat, *.cmd, or .com), KILLJOB terminates only the CMD.EXE process that CA Workload Automation AE used to launch the job. The Job Status is set according to the return code of the killed CMD.EXE process and can be one of the following: SUCCESS, FAILURE, or TERMINATED. Processes launched by user applications or batch (.bat) files are not killed. To work around this limitation, you can modify your programs to watch for a signal from a CA Workload Automation AE job running on a Windows machine, and you can implement this parameter for the SEND_SIGNAL event.*

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using VS 2010 on Windows Server 2003, running on a Dell Inspiron 9400
I have a website that's running on a Windows server and I'd like to
Running Solr on Tomcat 7 on Win 2008 Server. I am looping through a
Running SQL Server 2008 (not R2). I have a few reports that have URLs
From inside a batch file, I would like to test whether I'm running with
I've got a Windows application running some expensive equipment; this application dies in a
I'm running Windows 7 64 bit, which seems to be part of the problem.
I've got two applications running on two different machines that communicate by sending Serializable
Signed Java Applets have the same security clearance as a normal Java application running
Hi guys, We have a mixed development environment of three servers running: Win Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.