Oct 15, 2008 #1 U userateda Newbie level 1 Joined Oct 15, 2008 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,287 Hey, I'm trying to tun a program located at ~/src/prog/myprog written in C. But when I want to start it with ipcBeginProcess("~/src/prog/myprog") it won't work. Cadence says: sh: ~/src/prog/myprog: not found What is the problem here? A complete path will work, but I need the short one, like above. Any ideas?
Hey, I'm trying to tun a program located at ~/src/prog/myprog written in C. But when I want to start it with ipcBeginProcess("~/src/prog/myprog") it won't work. Cadence says: sh: ~/src/prog/myprog: not found What is the problem here? A complete path will work, but I need the short one, like above. Any ideas?
Oct 20, 2008 #2 _TopGun_ Member level 4 Joined Aug 20, 2005 Messages 75 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,288 Location Zelenograd, Russian Federation Activity points 1,696 Hi. First of all, I'd recommend you to use absolute path instead of relative. May be Cadence can't resolve "~" sign? Try ipcBeginProcess("~/src/prog/myprog") And also check if your program has execute permissions.
Hi. First of all, I'd recommend you to use absolute path instead of relative. May be Cadence can't resolve "~" sign? Try ipcBeginProcess("~/src/prog/myprog") And also check if your program has execute permissions.