-1

VS code Version 1.7.2
Commit 7ba55c5860b152d999dda59393ca3ebeb1b5c85f
Date 2016-11-21T22:14:18.217Z
Shell 1.3.8
Renderer 52.0.2743.82
Node 6.5.0

I'm working on Visual Code with WebWorks mobile application, when I try to call the command webworks on the integrated terminal I get Command not found!

It seems for me as the current user lack access to that program because the root can access it?

root@abd-SATELLITE-C855-2CE:~# whereis webworks
webworks: /root/BB10 WebWorks SDK 2.2.0.15/webworks.bat /root/BB10 WebWorks SDK 2.2.0.15/webworks
root@abd-SATELLITE-C855-2CE:~# 


Steps to Reproduce:

1. Open Webworks HTML5 project. 2. Run Webworks gives : abd@abd-SATELLITE-C855-2CE:/root/WebWorks Projects/TimeTacker$ webworks webworks: command not found

2 Answers2

0

I assume that "/root/WebWorks Projects/TimeTacker" isn't in $PATH, so to run webworks out of current directory, you will have to run:

./webworks
Soren A
  • 6,799
  • It doesn't work I got 'abd@abd-SATELLITE-C855-2CE:/root/WebWorks Projects$ ./webworks bash: ./webworks: No such file or directory' I think that is related to user permission to run that program – Abu Abdellah Dec 05 '16 at 14:34
  • As @muru writes above, how can we be sure that webworks is an Ubuntu executable ? How did you install it ? Could you please provide the output of 'ls -l' and, if there are a file called webworks, 'file webworks' – Soren A Dec 05 '16 at 14:39
  • I updated the question with more details. – Abu Abdellah Dec 05 '16 at 14:46
  • According to the output of your whereis, webworks command is in '/root/BB10 WebWorks SDK 2.2.0.15/' .. try to cd to that directory and run ./webworks – Soren A Dec 05 '16 at 15:03
0

After re-installing the webworks on user home directory the problem fixed. Screenshot