sublimetext3 - execute a deletion command in sublime text's build command? -


so using sublime text 3 , have following build system remove existing executable build run, seems deletion command not working. there way command in build system?

{  "cmd": ["del", "${file_base_name}","&", "g++", "${file}", "-std=c++11", "-o", "${file_path}/${file_base_name}", "&", "start", "cmd", "/c", "${file_base_name} & echo. & pause"],  "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",  "working_dir": "${file_path}",  "selector": "source.c, source.c++",  "shell": true,  "encoding":"utf-8", 

}

i found problem myself. in win32 should delete "${file_base_name}.exe rather "${file_base_name}.

hope can others.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -