[vbox-dev] Problem with python API
Kalogrianitis Socratis
socratisk at gmail.com
Sun Oct 7 09:15:50 UTC 2018
If anyone knows the/wishes to answer, please consider doing so in the thread that 'renn0xtek9' opened in the forums: https://forums.virtualbox.org/viewtopic.php?f=34&t=89657
A lot more people tend to benefit there, methinks...
Socratis
> On 7/Οκτ/2018, at 12:06, renn0xtek9 at laposte.net wrote:
>
> Dear all, I am trying to use the virtualbox module of python (import virtualbox) with python 2
> Using a linux host to a windwos guest works well (programm are fired as they should)
> However, using an ubunut-based host to that same ubuntu-based guest, the programm don't start in the guest and the terminal session in the host is totally stucked
> This is the code, I can see the "Will launch" but not the "launched"
> See alsoe https://github.com/renn0xtek9/VMRequests/blob/master/ExecuteRequests.py line 148
>
> gs=self.session.console.guest.create_session(self.jsonkey['User'],self.jsonkey['Password'])
> time.sleep(2.0) #wait 2.0 seconds to avoid race donditions
> print("Will launch")
> process,stdout,stderr=gs.execute('/usr/bin/konsole',[''])
> print("launched")
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
More information about the vbox-dev
mailing list