# ExecuteRequest with a specific path

**URL:** <https://discourse.jupyter.org/t/executerequest-with-a-specific-path/6419>\
**Category:** JupyterLab\
**Created:** [October 17, 2020, 4:04pm UTC](https://discourse.jupyter.org/t/executerequest-with-a-specific-path/6419 "2020-10-17T16:04:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![christophe](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christophe](https://discourse.jupyter.org/u/christophe)\
**Post date:** [October 17, 2020, 4:04pm UTC](https://discourse.jupyter.org/t/executerequest-with-a-specific-path/6419/1 "2020-10-17T16:04:38Z")

</div>

Dear all,  
I am working on an extension, which communicates with a kernel different from the front-end kernel.  
I take the code of a cell on the front-end and execute it with the second kernel. Often the path of my front-end is different from that of the second kernel and if there is a path\_file in the code i have a problem  
I execute a request with  
this.future = this.\_sessionContext.session?.kernel?.requestExecute({  
code  
});  
, the default path is that of the directory in which I launch jupyterlab.  
Can we indicate a different path to this second kernel to execute a request ?  
thank’s
