• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Kill a process

Stats

  • Replies 2
  • Subscribers 159
  • Views 14009
  • Members are here 0
More Content

Kill a process

khuranav007
khuranav007 over 8 years ago

I am using ipcBeginProcess() to start a Perl script from inside an Allegro Skill script (Allegro Skill script is invoked automatically when design is opened - by the way of axlTriggerSet).  

Now when I open another design from inside Allegro using File > Open then (since I am using axlTriggerSet) it invokes the Perl script again i.e. 2nd time which is not desirable.  What can I do so that the perl script closes when new design is opened i.e. original design is closed?  I was thinking of using axlTriggerSet() for design close but since the Allegro skill script invokes perl (i.e. another process) I am not sure how to do this.  Any ideas?  

Thanks for help!

  • Sign in to reply
  • Cancel
  • B Bruekers
    B Bruekers over 8 years ago
    I would define a global variable with the returned value of the ipcBeginProcess. When a new trigger occurs check if this variable is already set, and if so kill it with ipcKillProcess(<variable>)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • khuranav007
    khuranav007 over 8 years ago
    Thank you very much. Worked well. Thanks again :)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information