# How to execute the xpcshell after build the firefox?

**URL:** <https://discourse.mozilla.org/t/how-to-execute-the-xpcshell-after-build-the-firefox/4108>\
**Category:** Add-ons\
**Created:** [September 17, 2015, 7:04am UTC](https://discourse.mozilla.org/t/how-to-execute-the-xpcshell-after-build-the-firefox/4108 "2015-09-17T07:04:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shangerxin](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/shangerxin/32/30854_2.png) [@shangerxin](https://discourse.mozilla.org/u/shangerxin)\
**Post date:** [September 17, 2015, 7:04am UTC](https://discourse.mozilla.org/t/how-to-execute-the-xpcshell-after-build-the-firefox/4108/1 "2015-09-17T07:04:39Z")

</div>

A Firefox nightly version is successfully built on my PC but I still can’t execute the xpcshell follow the steps from [here](https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_bindings/XPConnect/xpcshell). My OS is window 7. The error message is

> bash: ./run-mozilla.sh: No such file or directory

But I could execute the xpcshell test by

> ./mach xpcshell-test

Any suggestions will be appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![jorgev](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jorgev](https://discourse.mozilla.org/u/jorgev)\
**Post date:** [September 22, 2015, 6:07pm UTC](https://discourse.mozilla.org/t/how-to-execute-the-xpcshell-after-build-the-firefox/4108/2 "2015-09-22T18:07:15Z")

</div>

[This is probably a better place to ask](https://ask.mozilla.org/questions/).

---

<div class="post-metadata">

**Author:** ![shangerxin](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/shangerxin/32/30854_2.png) [@shangerxin](https://discourse.mozilla.org/u/shangerxin)\
**Post date:** [October 4, 2015, 6:34am UTC](https://discourse.mozilla.org/t/how-to-execute-the-xpcshell-after-build-the-firefox/4108/3 "2015-10-04T06:34:57Z")

</div>

@jorgev, Thank you. I have found out the reason and the relative document of xpcshell is updated too.
