I'm attempting to right a python script to mount e01 files using osfmount. The command line I'm using works in the terminal, but not in my script. Is there something special I need to do?
I'm using python 3.3 and subprocess.check_output command. The gui pops up instead of mounting the image.
Pertinent lines of code I'm using:
I'm fairly new at python, but I think this should work.
I'm using python 3.3 and subprocess.check_output command. The gui pops up instead of mounting the image.
Pertinent lines of code I'm using:
Code:
image_file=r'G:\TestImages\myimage.E01' cmd_line='osfmount -a -t file -f ' + image_file + ' -m #:' ret_string = subprocess.check_output(cmd_line)
Comment