Working directory for processCreate()

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
rjoyce
Posts: 3
Joined: 4. Nov 2013, 22:04

Working directory for processCreate()

Post by rjoyce »

Is there any way to set the working directory for the guest process spawned by processCreate() or processCreateEx()? The latter offers very detailed customization for the new process, but oddly no apparent way to set its working directory.

(At the moment, I'm working around this with a wrapper executable that does, roughly, chdir() then exec().)
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Working directory for processCreate()

Post by noteirak »

AFAIK it is not possible, and there isn't any method provided for it...
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply