martyr-deepin / deepin-screenshot

Deprecated (migrated into deepin-screen-recorder after v20), consider create and maintain your own fork if you love it.
https://www.deepin.org/original/deepin-screenshot/
GNU General Public License v3.0
347 stars 102 forks source link

Command-line ignores relative paths and inexistent dirs, but gives no error in the log #34

Open douglasrizzo opened 6 years ago

douglasrizzo commented 6 years ago

The software ignores relative paths, but gives no error in the log:

deepin-screenshot -s "/home/user/Pictures/screenshots/myphoto.png"

It also does not create directories that are absent in the save path, nor does it raise an error when the directories do not exist, but it also does not save the screen shot. For example, if /home/user/Pictures exists but /home/user/Pictures/screenshots does not and I issue the aforementioned command in terminal, the log will not display any error, even though the screenshot was not saved.