lib/linux.js
function openExplorerinLinux(path, callback) {
    path = path || '/';
    let p = spawn('xdg-open', [path]);
    p.on('error', (err) => {
        p.kill();
        return callback(err);
    });
}
function openExplorerinLinux(path, callback) {
    path = path || '/';
    let p = spawn('xdg-open', [path]);
    p.on('error', (err) => {
        p.kill();
        return callback(err);
    });
}
function openExplorerinLinux ( path , callback ) { path = path || '/' ; let p = spawn ( 'xdg-open' , [ path ] ) ; p . on ( 'error' , ( err ) => { p . kill ( ) ; return callback ( err ) ; } ) ; }
Opens the Explorer and executes the callback function in ubuntu like os
@param {string} path The path string to be opened in the explorer
@param {Function} callback Callback function to which error is passed if some error occurs
Opens the Explorer and executes the callback function in ubuntu like os