• 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. about ipcBeginProcess in Windows 7 64 bit machine

Stats

  • Replies 5
  • Subscribers 161
  • Views 13502
  • Members are here 0
More Content

about ipcBeginProcess in Windows 7 64 bit machine

aeris
aeris over 14 years ago

Hi,

has anyone have an issue with ipcBeginProcess? i have an exe program that need to be run from Allegro, running the exe outside Allegro does it job, but when calling it from allegro it does not work at all (not being called to be exact), is there an issue of ipcBeginProcess not working in Allegro win7 64 bit

i tried this ipcBeginProcess("notepad") and it is working and using ipcBeginProcess in an XP 32 bit machine is also working

*** shell is not an option since i need to run the exe without showing the cmd console window and I need to know when exe program finished its job

edit: using shell aside from the cmd console window was being shown the exe program was working

 thanks

 

  • Sign in to reply
  • Cancel
  • Adamsen
    Adamsen over 13 years ago

    I have the same problem, after switching to windows 7 64-bit. The script was working on windows xp 32-bit.
    Did you find a solution to the problem?

     when trying to start perl i get
     cid = ipcBeginProcess("perl.exe")
     ipcReadProcess(cid)
    "Cannot create child process 'perl.exe '; Error code: 50\n"

    when running dir i get: 
     cid =  ipcBeginProcess("dir")
     ipcReadProcess(cid)
    "Cannot create child process 'dir '; Error code: 2\n"

    Does anyone have a clue about those error codes? 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fxffxf
    fxffxf over 13 years ago

    try giving a fully qualified path to perl.exe

    dir is a builtin command to cmd.exe. I would suggest using the Skill function getDirFiles to get a directory listing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Adamsen
    Adamsen over 13 years ago

    I gave it a go, but no luck. I also had made sure that perl was in the correct PATH before. But changing to full path did not do the trick (if I did it right)

     pp = "c:\\Perl64\\bin\\perl.exe"
     pid = ipcBeginProcess(pp)
     ipcReadProcess(pid)
    "Cannot create child process 'c:\\Perl64\\bin\\perl.exe '; Error code: 50\n"

     The example with dir, was only to try an other command, which resultet in an other error code. I have tried to find information about these error codes, but no luck so far. But I didnt actually think about dir was inside cmd.exe, I tried with date as well, as this is used as example in the manual, gave same error code. (Error code: 2)

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Adamsen
    Adamsen over 13 years ago

    I found a solution to my problem.

    Trying to start a 64-bit program with ipcBeginProcess command is not good, and will result in Error code 50.

    Reinstalling perl as 32-bit solved my issue. Thanks to support at nordcad.dk

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 13 years ago

    Thanks for the nice words

     

    Regards from Ole at Nordcad

    • 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