I'm trying to get a label's date. The cmd
command that I know is:
p4 labels -e the_label_name
The indeed gives me the following:
Label the_label_name 2014/06/05 00:05:13 'Created by mebel. '
To use python, I wrote:
os.system("sc labels -t -e the_label_name")
and what I got was:
Label the_label_name 2014/06/05 00:05:13 'Created by mebel. '
0
However, if I write
label = os.system("sc labels -t -e the_label_name")
I get that
label = 0
Do you know what am I missing?