ExecuteRequest with a specific path

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({
, 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 ?